This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15299

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: 41060
The first entry I got by googling for "swing display animated gif" seemed highly relevant.

Ping & DNS - my free Android networking tools app
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 917

Your name certainly certifies as a pallindrome madhu

Ahem ! Back to the Question....

Click Here, i think you will understand the mentioned example

My Website: [] Cool your mind:[] My Sally:[]
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
Similar Threads
Displaying images with JTree
JTree: How to update nodes?
Checkbox with Jtree
Editable JTree????