This commit is contained in:
unknown
2015-04-08 12:13:39 +02:00
parent c29ccec789
commit 90ca17e28a
27 changed files with 933 additions and 276 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();
}
}
});