See JTree.setRootVisible(boolean) and JTree.isRootVisible().
Bart
>See JTree.setRootVisible(boolean) and JTree.isRootVisible().
Great. The only thing wrong is the little widgets to let you know the
new "roots" are openable have disappeared.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Rogan Dawes - 26 Jan 2006 11:14 GMT
>> See JTree.setRootVisible(boolean) and JTree.isRootVisible().
>
> Great. The only thing wrong is the little widgets to let you know the
> new "roots" are openable have disappeared.
tree.setShowsRootHandles(true);
Rogan