I'm with trouble when trying to set a background color in a JTree node. Actually I'm using the JTableTree (A JTree rendered inside a JTable) example from the java tutorials @ sun to display some data, and I need to paint each row background with a specific color according to the data on that row.
The problem is that I can't seem to be able to set the background color for a node in a JTree. How can I do it?
The problem is that I can't seem to be able to set the background color for a node in a JTree. How can I do it?