JTree change handles of node

Hi!I am using MetalLookAndFeel in my program. I also have a JTree which by default uses Java handles (o--)I need to show the handles of windowsLookAndFeel (+ and -) in the tree, but without changing the MetalLookAndFeel.Is there a way to do this in JAVA?
[282 byte] By [farrukh421a] at [2007-11-26 18:40:47]
# 1

To set the icons,

UIManager.put("Tree.collapsedIcon", icon1);

UIManager.put("Tree.expandedIcon", icon2);

Note that in order to acquire the icons from the Windows L&F itself you would need to be runnin on a Windows platform, so it may be preferable to include PNGs of them in your classpath. Up to you.

itchyscratchya at 2007-7-9 6:14:48 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks!It worked for me.
farrukh421a at 2007-7-9 6:14:48 > top of Java-index,Desktop,Core GUI APIs...