Re: can JTree's have multiple roots and models ?



William Z. wrote:
Maybe I can just hide the main root node and just show the children.

You are looking for JTree#setRootVisible (see [1]), don't you?

Markus

[1] http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JTree.html#setRootVisible(boolean)
.



Quantcast