File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTree-->TreeNode-->Blinking gif image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree-->TreeNode-->Blinking gif image" Watch "JTree-->TreeNode-->Blinking gif image" New topic

JTree-->TreeNode-->Blinking gif image

Repala Madhu

Joined: Jun 12, 2007
Posts: 14
Hi every body,

I am working on a J2SE swing based application.

i have a JTree --> TreeNode --> cell rederer classes....

I am trying to put one blinking gif image on TreeNode label.

It is not displaying image, And if i debug it everything is fine (Setting image on label and label on TreeNode properly)


can anybody please help me

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

My crystal ball is in the shop being repaired this week so I'm unable to gaze into your computer and see your source code. If you could help me out and just paste the relevant bits of your code here, that would be super great.


GenRocket - Experts at Building Test Data
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The first entry I got by googling for "swing display animated gif" seemed highly relevant.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 1138

Your name certainly certifies as a pallindrome madhu

Ahem ! Back to the Question....

Click Here, i think you will understand the mentioned example

I agree. Here's the better link:

Repala Madhu

Joined: Jun 12, 2007
Posts: 14
Thank you salvin

This is what exactly i want.
I agree. Here's the link:
subject: JTree-->TreeNode-->Blinking gif image
It's not a secret anymore!