Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree icon tooltip

 
Cathy Song
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have successfully added tooltips to the nodes in the JTree. How can I add additonal tooltips to the icons in the JTree?

I have created an icon with a description:
Icon icon= new ImageIcon("icon.gif", "icon description");

Now when I mouse over the icon it should display the icon description.

Thank you,
Cathy.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic