Article View: borland.public.jbuilder.java.language
Article #15272Re: Loading an image on a dialog?
From: Steve Horsley
Date: Wed, 30 Jun 1999 00:00
Date: Wed, 30 Jun 1999 00:00
15 lines
1162 bytes
1162 bytes
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
//-----------------------
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:
<3779D3E5.E1725F70@cwcom.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7lc3de$qhc19@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3b697031a33f31c6 X-Google-Attributes: gidf74b3,public From: Steve Horsley <steve.horsley@cwcom.co.uk> Subject: Re: Loading an image on a dialog? Date: 1999/06/30 Message-ID: <3779D3E5.E1725F70@cwcom.co.uk> X-Deja-AN: 495531889 Content-Transfer-Encoding: 7bit References: <7lc3de$qhc19@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Cable & Wireless Communications Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language