if (isEditing(tree)) completeEditing(false, true, false);
completeEditing(false, false, false); finish();
  public void cancelEditing(JTree tree)  {    if (isEditing(tree))      completeEditing(false, true, false);  }