if (tree != null && editingComponent != null) if (tree.isEditing()) tree.stopEditing();  return c;
  public Component getTreeCellEditorComponent(JTree tree, Object value,                                              boolean isSelected, boolean expanded,                                              boolean leaf, int row)  {    if (realEditor == null)      createTreeCellEditor();        Component c = realEditor.getTreeCellEditorComponent(tree, value, isSelected,                                                             expanded, leaf, row);    if (tree != null && editingComponent != null)        if (tree.isEditing())          tree.stopEditing();        return c;  }