Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree Node text turns white when node above it is selected.. Glitch?  RSS feed

 
Marvin Diggler
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my jTree, when a node in selected, the text in the node directly beneath it(its sibling) turns white. The other nodes do not change. When using the Metal look, it works fine. But when using the Ocean and the System Look(Windows), I have this problem. The nodes contain html, but I have checked that for unclosed tags and that is not the issue. Any idea how to fix this? Happens with both jre 1.4 and 1.5. Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!