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

JTree, custom lineStyle  RSS feed

 
Nike Smith
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I would like to draw lines in JTree similar to Horizontal but they should surround children also. It will be nice if I would be able to draw double lines.

Than you for your help
 
Rob Spoor
Sheriff
Posts: 20895
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean you want a border around the children? Take a look at the TreeCellRenderer interface for that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!