private void saveRecipe(DefaultMutableTreeNode node) {
public void saveRecipe() { DefaultMutableTreeNode node = getSelectedNode();
  private void saveRecipe(DefaultMutableTreeNode node) {    if (node == null) return;    RecipeComponent rc = (RecipeComponent) node.getUserObject();    saveRecipe(rc);  }