This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes animated gif as label Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "animated gif as label Image" Watch "animated gif as label Image" New topic

animated gif as label Image

nabi bux
Ranch Hand

Joined: Mar 14, 2005
Posts: 73
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
Ranch Hand

Joined: Sep 20, 2005
Posts: 878
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.

bitguru blog
I agree. Here's the link:
subject: animated gif as label Image
It's not a secret anymore!