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 Changing the Background color for Particular node Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Changing the Background color for Particular node" Watch "Changing the Background color for Particular node" New topic
Author

Changing the Background color for Particular node

Dharmendra Kumar
Greenhorn

Joined: May 03, 2002
Posts: 5
Hi All,
I just want to change the background color of the particular leaf node. This is to indicate that particular node is been diabled. Can anyone help me regarding this
Thanks
Dharmendra Kumar
keerthi matta
Greenhorn

Joined: May 31, 2002
Posts: 27
hi,
There is an example which is similar to what u have listed out at
http://www2.gol.com/users/tame/swing/examples/JTreeExamples3.html
I hope that this will help u
keerthi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Changing the Background color for Particular node
 
Similar Threads
JTree
can we change the default selection color of setSelection() in jface
Flashing a row in Jtable
ListBox
change text color of highlighter