Original Post
I'm making anm applet that displays a series of gifs. All there is to the applet is the Panel that displays the images and the scroll bar below it to tell the image which gif to show. I have an array of 21 Image objects. Here is the problem:
As I go from the 1st gif to the 21st gif using the scroll bar, Java keeps rendering the gif animation slower and slower. I can't figure out why that is happening. I think that it is rendering my 1st, 2nd, 3rd, 4th, etc. gifs behind the 21st one. Here is the link to the project file download. The code is really short and pretty easy to skim through.
http://umn.edu/~kesa0007/applet.zip
[edited by - HalcyonBlaze on January 22, 2003 1:44:52 PM]