wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTree Node Color, to distinguish between different activities Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree Node Color, to distinguish between different activities" Watch "JTree Node Color, to distinguish between different activities" New topic
Author

JTree Node Color, to distinguish between different activities

H.C. Satish
Greenhorn

Joined: Feb 08, 2004
Posts: 4
Hi,
Situationynamic JTree (Tree is constructed from as a result of Database). User has the option to either Enable / Disable node and can repeat the activities but restricted only one activity per node, the node is to be highlighted; to restrict the user from further activities.
Problem:Am a newbie to swing, after searching the forum for the same, i found few good solutions which are specific to color change of specific selected node, in a temporary context.
But we need the node color change within a same level; to distinguish either the node is either enabled / disabled.

Your help is appreciated,
 
 
subject: JTree Node Color, to distinguish between different activities
 
Similar Threads
JTree
JTree
Setting Leaf in the JTree (Urgent)
JTree
JTree