From cc6b13e839f366dd9e03c06fad12b79f1345edd3 Mon Sep 17 00:00:00 2001 From: Johnny Quinteros Date: Wed, 10 Feb 2021 19:37:36 -0500 Subject: [PATCH] Update GameView.java I changed background color --- .../src/edu/ycp/cs320/movethesquare/ui/GameView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java index 674d86b..b748fb3 100644 --- a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java +++ b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java @@ -17,7 +17,7 @@ import edu.ycp.cs320.movethesquare.model.Square; public class GameView extends JPanel { - private static final Color MIDNIGHT_BLUE = new Color(25, 25, 112); + private static final Color RED = new Color(100, 0, 0); private Game model; private GameController controller; @@ -26,7 +26,7 @@ public class GameView extends JPanel { public GameView(Game model) { this.model = model; setPreferredSize(new Dimension((int) model.getWidth(), (int)model.getHeight())); - setBackground(MIDNIGHT_BLUE); + setBackground(RED); // djh2-KEC119-21: changed from 30 to 45 // djh2-YCPlaptop: change from 45 to 100