Re: hiding the root icon in Jtree



Roedy Green wrote:
On 25 Jan 2006 23:33:16 -0800, "Bart Cremers" <bcremers@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

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
.