renameExperiment(node, name);
renameExperiment(getSelectedNode(), name);
  private void renameExperiment(DefaultMutableTreeNode node) {    String name = JOptionPane.showInputDialog("New experiment name");    renameExperiment(node, name);  }