aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTree ToolTip 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 ToolTip" Watch "JTree ToolTip" New topic
Author

JTree ToolTip

Jeremy Hooie
Ranch Hand

Joined: Aug 22, 2001
Posts: 38
What's the best way to go about creating a ToolTip for a tree node in a JTree? I want to be able to show a JPanel with multiple lines of information. Is this possible, or would I have to use a multi-line String?
Thanks,
Jeremy
Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
You can set tooltip & make it wrap round so that it comes in next line, it looks as if its in a pane.


- Vinod<br />-------<br />SCJP2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTree ToolTip