A way to change the line style of JTree in Windows Look & Feel
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Konstantin_Stoilchev
Posted On:   Thursday, June 6, 2002 05:17 AM

Is there a way to change the line style of a JTree object in Windows Look & Feel (for JDK 1.3.1)?


I know the way for Metal L&F is as example tree.putClientProperty("JTree.lineStyle", "Angled");


I need to remove the tree lines in Windows L&F. Do you know how?

Re: A way to change the line style of JTree in Windows Look & Feel

Posted By:   mark_mikunas  
Posted On:   Tuesday, June 11, 2002 08:34 AM

Im not sure if this is the correct way to do it,
but it works for me..



tree.putClientProperty("JTree.lineStyle", "None");



good luck!
About | Sitemap | Contact