Fix regression on getDimensionX and add finals
* Make all appropriate methods final * Add new messages to MazeAppModelMessage and handle them to act more accurately on observers updates * Make all buttons from 'File' menu subclasses of FileMenu in order to have a cleaner ui folder * Remove legacy code (for example, the former code used to animate the path drawing) * Improve delegation
This commit is contained in:
1 parent
eaba5b6106
commit
e76db727c7
40 files changed
+246
-257
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ package ui;
|
||||
import javax.swing.JFileChooser;
|
||||
import javax.swing.filechooser.FileNameExtensionFilter;
|
||||
|
||||
public class FileBox {
|
||||
public final class FileBox {
|
||||
private static JFileChooser fileChooser = new JFileChooser();
|
||||
private static FileNameExtensionFilter filter =
|
||||
new FileNameExtensionFilter("Text files", "txt");
|
||||
|
||||
Reference in new issue
Block a user