Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

animated gif as label Image

 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi java user Iam working on prject in i want
to make some animation on label i have designed some animated gif file
i want to use them as label image but programe become hang
if i used simple gif file then they appear on label what is wrong
with gif aniamated picture please help?
 
Brian Cole
Author
Ranch Hand
Posts: 907
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure how starting this thread is going to help you any more than the old one did, but I'll say again that animated GIFs work fine.

Go ahead and run this code and see for yourself:


That's using one of JavaRanch's animated GIFs. If it works with that one but not the ones you have created, I think I would first look at how you are creating your animated GIFs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic