Merge branch 'menuBar' into mvc
This commit was merged in pull request #17.
This commit is contained in:
commit
083962eec5
16 files changed
+140
-55
No files matched your search
@@ -9,12 +9,12 @@ public abstract class DrawingBox extends JPanel {
|
||||
|
||||
private final MazeApp mazeApp;
|
||||
private Color color;
|
||||
|
||||
|
||||
public DrawingBox(MazeApp mazeApp, Color color) {
|
||||
|
||||
|
||||
this.mazeApp = mazeApp;
|
||||
this.color = color;
|
||||
|
||||
|
||||
setBackground(color);
|
||||
setPreferredSize(new Dimension(40,40));
|
||||
setBorder(BorderFactory.createLineBorder(Color.orange));
|
||||
|
||||
Reference in new issue
Block a user