aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes tool tip in jtree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "tool tip in jtree" Watch "tool tip in jtree" New topic
Author

tool tip in jtree

Arun Sharma
Ranch Hand

Joined: Dec 24, 2003
Posts: 40
Hi :
I want to set a tool tip for JTree nodes dynamically. I have extended JTree. How do I do that. Can anybody help me out ??
Thanks,
Sam
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

see DefaultTreeCellRenderer, there you may override 'setToolTipText'.


http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tool tip in jtree