Exemple #1
0
  public static SaveExperimentGUI showDialog(int x, int y) {
    SaveExperimentGUI inst = getInstance();
    inst.getWorkDirComboBox().removeAllItems();

    inst.setLocation(x, y);
    inst.update();
    inst.setVisible(true);

    return inst;
  }
Exemple #2
0
  public static void close() {
    SaveExperimentGUI inst = getInstance();

    inst.setVisible(false);
    inst.dispose();
  }