@Override
      public boolean isPathEditable(TreePath path) {
        return isEditable() && path.getLastPathComponent() instanceof DefaultMutableTreeNode;
      }
@Override
      public boolean isPathEditable(TreePath path)