🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15275

Re: Loading an image on a dialog?

#15275
From: Eric Advincula
Date: Wed, 30 Jun 1999 00:00
23 lines
1439 bytes
That part is not hard, but what I would like to do is load the image on the
dialog so that I can make a splash screen.

Steve Horsley <steve.horsley@cwcom.co.uk> wrote in message
news:3779D3E5.E1725F70@cwcom.co.uk...
> I haven't looked at loadign an image into a dialog, but the folowing
> line successfully loaded an image from disk, so I could use it as
> my application icon:
>     Image myImage = Toolkit.getDefaultToolkit().createImage("icon.gif");
> Steve
> file://-----------------------
> Eric Advincula wrote:
> >
> > What is the best way to load an image to a dialog?  I'm doing it to make
a
> > splash screen.
> > I know how to load an image ( using getImage from the Image class ) but
the
> > sample only loads the image in an applet not a dialog.  Any advice or
info
> > to look at or better way to do it?
> >
> > Thanks
Technical Details
Message-ID: <7ld8qv$rn011@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7lc3de$qhc19@forums.borland.com> <3779D3E5.E1725F70@cwcom.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,3b697031a33f31c6
X-Google-Attributes: gidf74b3,public
From: "Eric Advincula" <eric07@earthlink.net>
Subject: Re: Loading an image on a dialog?
Date: 1999/06/30
Message-ID: <7ld8qv$rn011@forums.borland.com>
X-Deja-AN: 495614363
References: <7lc3de$qhc19@forums.borland.com> <3779D3E5.E1725F70@cwcom.co.uk>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language