Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree Node Color, to distinguish between different activities

H.C. Satish
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic