my dog learned polymorphism
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree" Watch "JTree" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have a JTree which has been created with some user difined objects as nodes. Now i want to set the color for that node based on one attribute which will available in that object with some object.getAttirbute() method. So how to set the color for that node in JTree.
I agree. Here's the link:
subject: JTree
It's not a secret anymore!