Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing colors in JTree

 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, how can I change color of line which connect proper nodes?

example :

UIManager.put("Table.PROPERTY", new Color(169,168,62));

I don't know PROPERTY...
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, that's EXACTLY what I wanted
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic