true);
allowOrig);
  private boolean cloneExperiment() {    // ask user to confirm cloning experiment//      int result = JOptionPane.showConfirmDialog(this,//                                                 "Modify Experiment",//                                                 "Modify Experiment?",//                                                 JOptionPane.YES_NO_OPTION,//                                                 JOptionPane.QUESTION_MESSAGE);//      if (result == JOptionPane.NO_OPTION)//        return false;    // if experiment name is in the database, then ask user for new name    // or allow user to re-use existing name    if (ExperimentDB.isExperimentNameInDatabase(experimentName)) {      String name = organizer.getUniqueExperimentName(experimentName,                                                      true);      if (name == null)        return false;      experimentName = name;    }    if(log.isDebugEnabled()) {      log.debug("Cloning experiment: " + experimentName);    }    experimentId = ExperimentDB.cloneExperiment(experimentId,                                                 experimentName);    trialId = ExperimentDB.getTrialId(experimentId);    cloned = true;    return true;  }