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; }
public static void close() { SaveExperimentGUI inst = getInstance(); inst.setVisible(false); inst.dispose(); }