public static void close() { SaveExperimentGUI inst = getInstance(); inst.setVisible(false); inst.dispose(); }