action = null;
  protected void uninstallKeyboardActions()  {    action = null;    tree.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent(                                                                              null);    tree.getActionMap().setParent(null);  }