[5733] in java-interest

home help back first fref pref prev next nref lref last post

Re: Loading large image files

daemon@ATHENA.MIT.EDU (JFX Studios)
Sun Feb 25 12:35:21 1996

Date: Sun, 25 Feb 1996 11:15:27 -0500
From: JFX Studios <jfxstudios@ixmedia.com>
To: "Jon Barber" <jon@pavilion.co.uk>, <java-interest@java.sun.com>

>Is there a simple technique to ensure all images have been loded before
>starting a loop for a simple animation ?   I've been given 17 quite largish
>gifs (about 2000 bytes each) to loop through, but the images aren't all
>loaded before the loop starts.  A simple but wrong solution would be to
>wait, say, 3 seconds.  There must be a better way ?

Use the MediaTracker class.

jf
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post