File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Spring in Action this week in the Spring 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