File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
JTree icon tooltip
Joined: Jul 01, 2003
Jun 04, 2004 10:55:00
I have successfully added tooltips to the nodes in the
. How can I add additonal tooltips to the icons in the
I have created an icon with a description:
Icon icon= new
("icon.gif", "icon description");
Now when I mouse over the icon it should display the icon description.
I agree. Here's the link:
subject: JTree icon tooltip
ImageIcon in JTREE
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015