addExperimentToWorkspace(experiment, selectedNode); addSocietyToWorkspace(society, selectedNode);
DefaultMutableTreeNode experimentNode = addExperimentToWorkspace(experiment, getSelectedNode()); addSocietyToWorkspace(society, experimentNode);
  public void createExperimentFromFile() {    // query user for INI file and create society    SocietyComponent society = newSocietyComponent();    if (society == null)      return;    DefaultMutableTreeNode selectedNode = getSelectedNode();    Experiment experiment =       new Experiment("Experiment for " + society.getSocietyName(),                     society, null);    addExperimentToWorkspace(experiment, selectedNode);    addSocietyToWorkspace(society, selectedNode);  }