DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Animated GIF with Graphics, or Graphics2D? (http://www.daniweb.com/forums/thread177461.html)

sciwizeh Feb 21st, 2009 5:28 pm
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.

sciwizeh Feb 22nd, 2009 9:48 pm
Re: Animated GIF with Graphics, or Graphics2D?
 
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.


All times are GMT -4. The time now is 3:44 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC