if (experiment != null) runExperimentBuilderWorker(experiment, alwaysNew);
organizer.removeChildren(experiment); JFrame tool = (JFrame)new ExperimentBuilder(this, experiment); addTool(EXPERIMENT_BUILDER, experiment.getExperimentName(), tool);
  protected void runExperimentBuilder(Experiment experiment,                                    boolean alwaysNew) {    // if this experiment is being edited, then don't edit again    if (isExperimentInEditor(experiment))      return;    if (!experiment.isEditable()) {      // otherwise editability can be overwritten      Object[] options = { "Edit", "View", "Copy", "Cancel" };      experiment = queryUser(experiment, options);    }    // if it's editable, then just edit it    if (experiment != null)      runExperimentBuilderWorker(experiment, alwaysNew);  }