hi,
I want remove the icon, that stays by a TreeNode lefts, that has got
any TreeNodes. The icon presents, the TreeNode is either expanded or
collapsed.
(I am meaning not the icon, that can you remove with:
defaultTreeCellRenderer.setLeafIcon(null);
defaultTreeCellRenderer.setClosedIcon(null);
defaultTreeCellRenderer.setOpenIcon(null);
)
thank You a lot for any help!!!
Joana
ak - 25 Feb 2004 17:19 GMT
> I want remove the icon, that stays by a TreeNode lefts, that has got
> any TreeNodes. The icon presents, the TreeNode is either expanded or
[quoted text clipped - 7 lines]
>
> thank You a lot for any help!!!
JTree#setShowsRootHandles(false);
____________
http://reader.imagero.com the best java image reader.