A custom TreeSelectionModel is your ticket.  You need to extends 
DefaultTreeSelectionModel and override addSelection*/setSelection* methods 
to exclude the root node from being used.

Dmitry

At 02:38 AM 2/21/2002, Panyam Krishna Murthy wrote:
>Hi,
>
>Is there any way to disable the selection of a root node in a JTree.
>I don't want to use setRootVisible() method.
>
>Thanks and Regards
>-panyam

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to