private void close() { Window.getFrame().requestFocus(); Window.getFrame().requestFocusInWindow(); Window.getFrame().setEnabled(true); frame.dispose(); Window.options = false; }
public static void start() { fXmlFile = new File(Bootstrap.ProjectFiles); if (!fXmlFile.exists()) fXmlFile.mkdirs(); fXmlFile = new File(Bootstrap.ProjectFiles + "/launcherOptions"); if (!Window.options) { Window.options = true; frame = new Options(); frame.setVisible(true); } }