From 7192b71d35f3278b9e7fe849482c05d0bde01912 Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Tue, 7 Feb 2023 22:10:10 +0100 Subject: [PATCH] update --- src/main/java/BattleShip/GridGUI.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index fad5698..bc07ee9 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -131,7 +131,9 @@ public class GridGUI extends JPanel { } } public void enableCells() { - + for(BSButton bsb : buttons) { + bsb.setEnabled(true); + } } }