| | |
Animated GIF with Graphics, or Graphics2D?
![]() |
So, I got this idea that I could make a simple game in Java, with animated GIFs for the running animations, but I have a problem, although Java will display the animation on a JLabel when made into an Icon, but I don't know how to, and can't seem to come across a way to, animate a GIF with Graphics or Graphics2D.
Any thoughts, links, or advice welcome. Thanks.
Any thoughts, links, or advice welcome. Thanks.
My site, random PM's from people I haven't hear from before will be DELETED
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
unable to edit last post, sorry about the double post and the bump, but I thought about something else that I could use some advice on.
Once I can use an animated GIF (still haven't figured it out), I will also need to be able to stop the animation, and possibly display only one of the frames for some time.
Once I can use an animated GIF (still haven't figured it out), I will also need to be able to stop the animation, and possibly display only one of the frames for some time.
My site, random PM's from people I haven't hear from before will be DELETED
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
"If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed.",
"If we knew what it was we were doing, it would not be called research, would it? "-Albert Einstein
![]() |
Other Threads in the Java Forum
- Previous Thread: console.nextChar(); ???
- Next Thread: Why isn't my modified KeyTyped method working properly?
| Thread Tools | Search this Thread |
911 addball addressbook android applet application apps array automation awt binary bluetooth businessintelligence busy_handler(null) button card class client code collision component constructor crashcourse css csv database draw eclipse ee error eventlistener exception fractal free ftp game givemetehcodez graphics gui html ide image integration j2me japplet java javaarraylist javadoc javafx javamicroeditionuseofmotionsensor javaprojects jni jpanel jtree julia jvm linked linux loan method migrate mobile netbeans objects oracle oriented phone physics plazmic printf problem program programming project projects radio recursion replaydirector reporting rotatetext scanner se server service set sharepoint smart sms software sql swing test textfield threads tree trolltech ubuntu unlimited utility windows





