saveMenuItem.setEnabled(configComponent instanceof RecipeComponent);
  private void setConfigComponent(ModifiableComponent newConfigComponent) {    configComponent = newConfigComponent;    saveMenuItem.setEnabled(configComponent instanceof RecipeComponent);  }