File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTree 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" Watch "JTree" New topic
Author

JTree

cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Is there a way to change the icons of a jtree?
Thanks
Cardwell
cardwell cupp
Ranch Hand

Joined: Aug 16, 2001
Posts: 66
Nevermind. I figured it out. It is actually quite easy, you just creat a new TreeCellRenderer, use the set icon functions, and then add it to the jtree....
Thanks All any way
Cardwell
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTree
 
Similar Threads
JTree
JTree
JTree
JTree
JTree