Has anyone found a way to eliminate the flickering that occurs when drawing
animated GIF files?

The only way I found to get the GIF to animate is by drawing it directly to
the Graphics context.  This is not the preferred way to draw, however,
because the application I am working on is using double-buffering and it
flckers.  If I draw the GIF to the offscreen buffer,  then when the buffer
is drawn to the screen, it shows the image at one frame only (randomly as
well).  The random frame showing leads me to believe that the GIF is
"animating" offscreen and it is simply only showing the frame that it was
on at the time of the offscreen dump to the screen.  So I tried creating a
thread that periodically repaints that one rectangle where the animated GIF
is located, but this still doesn't produce the desired animation.

Is there a way to access individual frames?

Any suggestions would be appreciated.

Michael Alf

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to