From aa15d780a6098e0687ccb24066fd5bae493d9813 Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 8 Feb 2021 11:27:23 -0500 Subject: [PATCH] Changed the rectangle from solid to hollow --- MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java index 674d86b..9ebaca2 100644 --- a/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java +++ b/MoveTheSquare/src/edu/ycp/cs320/movethesquare/ui/GameView.java @@ -70,7 +70,7 @@ protected void paintComponent(Graphics g) { Square square = model.getSquare(); - g.fillRect((int) square.getX(), (int) square.getY(), (int) square.getWidth(), (int) square.getHeight()); + g.drawRect((int) square.getX(), (int) square.getY(), (int) square.getWidth(), (int) square.getHeight()); } public static void main(String[] args) {