• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree.putClientProperty() problem....  RSS feed

 
Janarthan Sathiamurthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>Hi,
>>
>>I am using 1.4.1_01 of the jre plugin.
>>I have a swing applet.
>>In the JApplet i have a JscrollPane.
>>I am placing JTree on this JscrollPane.
>>I am using the default lookandfeel of java.
>>Now I am using tree.putClientProperty("JTree.lineStyle", "Angled");
>>But i did not get expected lines detailing the relationships between nodes.
>>
>>I tried the same by setting the UIManager to Windows look and feel. But the result was same.
>
>How can I get vertical line
>>Please Help.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not doing it in an applet, but Angled line styles in JTrees work fine in normal applications in 1.4.1_01. Try running the applet in AppletViewer instead of the Java Plugin and see if the angled lines show up. It may be an issue with the Java Plugin?
[ February 06, 2003: Message edited by: Nathan Pruett ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!