java - JTree Line Style and Nimbus -
i using nimbus , feel. according link, should able achieve 3 different line styles jtree:
while using following code:
thetree.putclientproperty("jtree.linestyle", "horizontal");
my jtree looks this:
it has "none" style , not "horizontal" style. idea why might be? have nmbus? need call special after setting property?
thanks
i don't believe nimbus supports jtree.linestyle
property. metallookandfeel does.
take @ source code javax.swing.plaf.synth.synthtreeui
(which used nimbus) , metaltreeui
(which used metal).
change metallookandfeel , see if works.
Comments
Post a Comment