if (isShowing()) update();
  public void reinit(Experiment newExperiment) {    // restore editable flag on previous experiment    if (isEditable)      experiment.setEditable(isEditable);    if (isRunnable)      experiment.setRunnable(isRunnable);    experiment = newExperiment;    isEditable = newExperiment.isEditable();    isRunnable = newExperiment.isRunnable();  }