Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Replay Animated GIF

 
Drew Lane
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just wondering if it's possible to replay an animated GIF in Java after it's already played once?
I figure I could reload the image, but that doesn't seem very efficient.
Basically, I just need to be able to play the animated gif when the user presses a button.
I suppose I could extract all the images and do the animation in Java, but the animated GIF is working, so I figure why fix it...
Drew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic