/** * Initiate quiting service * * @throws IOException */ public void quit() throws IOException { eventManager.updateFile(); System.out.println("Saving Data...events.txt"); setVisible(false); dispose(); }