Found while diagnosing tree painting problems in NetBeans on GTK L&F...
It appears that any use of DefaultTreeCellRenderer results in the tree cell being painted as grey, regardless of the color with which the tree is painted. I replaced our custom renderer with code which, for each paint, simply created a new DefaultTreeCellRenderer and set its text and icon, and the painting bug remained - so the problem is definitely not our code.
The culprit appears to be
SynthTreeUI.configureRenderer()
The result of this problem is that
- Trees are rendered as white
- The background color of the text of tree nodes is rendered as gray
- When selected, the background color of the text of tree nodes is a slightly different shade of blue than the stripe indicating the selection