private void deleteExperimentFromDatabase() {
public void deleteExperimentFromDatabase() {
  private void deleteExperimentFromDatabase() {    Map experimentNamesMap = ExperimentDB.getExperimentNames();    Set keys = experimentNamesMap.keySet();    JComboBox cb = new JComboBox(keys.toArray(new String[keys.size()]));    cb.setEditable(false);    JPanel panel = new JPanel();    panel.add(new JLabel("Delete Experiment:"));    panel.add(cb);    int result =       JOptionPane.showConfirmDialog(null, panel, "Delete Experiment",                                    JOptionPane.OK_CANCEL_OPTION,                                    JOptionPane.PLAIN_MESSAGE);    if (result != JOptionPane.OK_OPTION)      return;    String experimentName = (String)cb.getSelectedItem();    String experimentId = (String)experimentNamesMap.get(experimentName);    ExperimentDB.deleteExperiment(experimentId, experimentName);  }