From 0d5981c697d2863ffa11c4e74bce4c277e396a18 Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Tue, 7 Feb 2023 22:01:38 +0100 Subject: [PATCH] refactoring: --- src/main/java/BattleShip/GridGUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index 5a9b32a..f3c5a52 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -8,7 +8,7 @@ import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Random; -public class GridGUI { +public class GridGUI extends JPanel { ArrayList buttons = new ArrayList(); ArrayList allShips = new ArrayList();