public ActionCallback selectNodeInTree(
     final DefaultMutableTreeNode nodeToSelect, boolean center, final boolean requestFocus) {
   if (requestFocus) {
     myTree.requestFocus();
   }
   if (nodeToSelect != null) {
     return TreeUtil.selectInTree(nodeToSelect, requestFocus, myTree, center);
   } else {
     return TreeUtil.selectFirstNode(myTree);
   }
 }
 public void requestFocus() {
   myTree.requestFocus();
 }