Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree ToolTip  RSS feed

 
Jeremy Hooie
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set tooltip & make it wrap round so that it comes in next line, it looks as if its in a pane.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!