Add UI to the project #29

Manually merged
regar42 merged 45 commits from mvc into master 2018-01-03 11:03:09 +00:00
Showing only changes of commit 987fb858e4 - Show all commits
+1 -1
View File
@@ -30,7 +30,7 @@ public class SaveMazeMenuItem extends JMenuItem
new FileNameExtensionFilter("Text files", "txt");
fileChooser.setFileFilter(filter);
int returnVal = fileChooser.showOpenDialog(mazeApp);
int returnVal = fileChooser.showSaveDialog(mazeApp);
if(returnVal == JFileChooser.APPROVE_OPTION) {
System.out.println("You chose to save to this file: " +
fileChooser.getSelectedFile().getName());