@Override
  protected void installKeyboardActions() {
    super.installKeyboardActions();
    ActionMap map = tree.getActionMap();
    map.put("selectChild", EXPAND_OR_SELECT_NEXT);
    map.put("selectParent", COLLAPSE_OR_SELECT_PREVIOUS);
  }
@Override
  protected void installKeyboardActions()