if (isEditing(tree))
boolean ret = false; if (editingComponent != null && cellEditor.stopCellEditing())
  public boolean stopEditing(JTree tree)  {    if (isEditing(tree))      {        completeEditing(false, false, true);        finish();      }    return ! isEditing(tree);  }