aspose file tools*
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
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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTree Node Color, to distinguish between different activities