Article View: borland.public.jbuilder.java.language
Article #17752Re: Waiting for an image to load
From: Paul Gifford
Date: Thu, 08 Oct 1998 00:00
Date: Thu, 08 Oct 1998 00:00
29 lines
1302 bytes
1302 bytes
You may also want to try the gjt toolkit from Sun. It helps if
you've bought the book (Graphic Java - can't recommend this enough)
but you can download the toolkit if you haven't. It's somewhere on
Sun's site - do a search on gjt and it will come up. Ignore broken
links...the toolkit is there, I picked it up yesterday (I had book for
JDK 1.0, but needed gjt for JDK 1.1).
In the gjt.Util class, there is "waitForImage" which encapsulates
what Brian had posted in the previous reply.
p
On Wed, 16 Sep 1998 10:56:29 -0400, Doug McClary <dwmcclary@vx-1.com>
wrote:
>Does anyone have a suggestion for waiting/knowing when an AWT Image has
>finished loading. I've tried :
>
>while (!prepareImage(.....) {}
>
>but this seems to cause an out of memory error for large images.
>
>
>Regards
>
>
>Neil.
>
Technical Details
Message-ID:
<361cf1cd.8123147@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35FFD19D.23258EDD@vx-1.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,63cbba21d46a2160 X-Google-Attributes: gidf74b3,public From: paul.gifford@ibm.take.me.outta.here.net (Paul Gifford) Subject: Re: Waiting for an image to load Date: 1998/10/08 Message-ID: <361cf1cd.8123147@forums.inprise.com> X-Deja-AN: 399054364 References: <35FFD19D.23258EDD@vx-1.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language