question: private boolean selectID ( int nodeID , boolean show ) { if ( m_root == null ) return false ; log . config ( "NodeID=" + nodeID + ", Show=" + show + ", root=" + m_root ) ; MTreeNode node = m_root . findNode ( nodeID ) ; if ( node != null ) { TreePath treePath = new TreePath ( node . getPath ( ) ) ; log . config ( "Node=" + node + ", Path=" + treePath . toString ( ) ) ; tree . setSelectionPath ( treePath ) ; if ( show ) { tree . makeVisible ( treePath ) ; tree . scrollPathToVisible ( treePath ) ; } return true ; } log . info ( "Node not found; ID=" + nodeID ) ; return false ; }
target:  Select ID in Tree