Animated GIF with Graphics, or Graphics2D?

Reply

Join Date: Jun 2008
Posts: 402
Reputation: sciwizeh is on a distinguished road 
Solved Threads: 20
sciwizeh's Avatar
sciwizeh sciwizeh is offline Offline
Posting Pro in Training

Animated GIF with Graphics, or Graphics2D?

 
0
  #1
Feb 21st, 2009
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.
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 402
Reputation: sciwizeh is on a distinguished road 
Solved Threads: 20
sciwizeh's Avatar
sciwizeh sciwizeh is offline Offline
Posting Pro in Training

Re: Animated GIF with Graphics, or Graphics2D?

 
0
  #2
Feb 22nd, 2009
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.
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC