Skip to main content
gamedev.net
🔒 Locked

Java problems

Started by HalcyonBlaze 0 replies 550+ views
Original Post
HalcyonBlaze
HalcyonBlaze
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]
"Computers in the future may weigh no more than 1.5 tons."- Popular Mechanics, 1949

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.