File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree icon tooltip

 
Cathy Song
Ranch Hand
Posts: 92
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic