You can specify that in the treeState object that u associate for the Tree.

Example code

// This is my Root Node.
DefaultMutableTreeNode root = new DefaultMutableTreeNode(new RootNode());

// I want my root node to be expanded, so just stating that to treeState
treeState.addExpandState(root);

Regards,
Varma


On 2/10/07, Adrian Mitev <[EMAIL PROTECTED]> wrote:

Hi all! Is there way to show the tree expanded when i show it for the
first time?

Reply via email to