halverwege

This commit is contained in:
Yorick
2015-04-07 19:32:10 +02:00
parent d6b511bab5
commit 32de28204c
5 changed files with 138 additions and 87 deletions
+2 -1
View File
@@ -82,7 +82,8 @@ public class MenuBar extends JMenuBar {
public void actionPerformed(ActionEvent e) {
if(JOptionPane.showConfirmDialog(null, "Are you sure you want to close this program?", "Close Agenda", JOptionPane.YES_NO_OPTION) == JOptionPane.OK_OPTION)
{
System.exit(0);
w.setVisible(false);
w.dispose();
}
}
});