From c72db9ad6cff021b5dd3af5a687b94ebc0af6a23 Mon Sep 17 00:00:00 2001 From: shawn Date: Fri, 20 Feb 2015 13:30:25 -0500 Subject: [PATCH] Changed Background color to green and circle color to white --- .../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 9631fc1..dd64f4e 100644 --- a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java +++ b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java @@ -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(Color.GREEN); this.timer = new Timer(1000 / 60, new ActionListener() { @Override @@ -61,7 +61,7 @@ protected void handleTimerTick() { protected void paintComponent(Graphics g) { super.paintComponent(g); // paint background - g.setColor(Color.GREEN); + g.setColor(Color.WHITE); Square square = model.getSquare();