you could override isLeaf() and return false or set a renderer on the tree
which could render it as a node


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Soumitra Dhankar
Sent: Saturday, August 03, 2002 6:51 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: JTree nodes 



I want to show some JTree leaves as nodes i.e even though they do not
contain any children I still want to show then as nodes.

Any idea how to go abt it.

TIA
Soumitra



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

Reply via email to