Fixing lines and spaces and restoring labyOutput

This commit is contained in:
regar42 committed 2017-12-16 17:41:02 +01:00
1 parent a5d0df4b96
commit bac9b54d58
16 files changed
+45 -55

No files matched your search

+4 -4
View File
@@ -12,18 +12,18 @@ public class QuitMenuItem extends JMenuItem
implements ActionListener {
private final MazeApp mazeApp;
public QuitMenuItem(MazeApp mazeApp) {
super("Quit");
this.mazeApp = mazeApp;
addActionListener(this);
}
public void actionPerformed(ActionEvent evt) {
MazeAppModel mazeAppModel = mazeApp.getMazeAppModel();
if (mazeAppModel.isModified()) {
int response = JOptionPane.showInternalOptionDialog(this,
"Maze not saved. Save it ?",
@@ -41,6 +41,6 @@ public class QuitMenuItem extends JMenuItem
break;
}
}
System.exit(0) ;
System.exit(0);
}
}