From 3a4b85e9b39ee0f29f669ac99e77379dd7c5f87b Mon Sep 17 00:00:00 2001 From: Thoumi Ngonga Brice Date: Tue, 7 Feb 2023 22:04:48 +0100 Subject: [PATCH] Refratoring background color --- src/main/java/BattleShip/AIGridGUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/BattleShip/AIGridGUI.java b/src/main/java/BattleShip/AIGridGUI.java index 6f5522f..feb217f 100644 --- a/src/main/java/BattleShip/AIGridGUI.java +++ b/src/main/java/BattleShip/AIGridGUI.java @@ -527,7 +527,7 @@ public class AIGridGUI extends JPanel { //If mouse released, place ship and color ship cells. if(action == 2) { bsb.setCellContents(shipToPlace); - bsb.setBackground(Color.gray); + bsb.setBackground(Color.blue); bsb.setBorder(raisedbevel); } else { //If mouse exited, unhighlight cells.