posted 23 years ago
Hi,
When I create a JTree, I want to set its root to be selected by default .. setSelectionPath( ??? ) where ??? would be the path of the tree's root. Would getPathForRow(0) be the right method to use ?
If possible, I would like to achieve this, without firing off a valueChanged event.
Thankyou,
Kate