From cf64f311ce329cfb1abddb011f91e0a290988786 Mon Sep 17 00:00:00 2001 From: fdai4581 Date: Tue, 7 Feb 2023 21:21:47 +0100 Subject: [PATCH] update --- src/main/java/BattleShip/GridGUI.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/BattleShip/GridGUI.java b/src/main/java/BattleShip/GridGUI.java index 425a0bc..26550b1 100644 --- a/src/main/java/BattleShip/GridGUI.java +++ b/src/main/java/BattleShip/GridGUI.java @@ -3,6 +3,8 @@ package BattleShip; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Random; @@ -70,4 +72,9 @@ public class GridGUI { } } } + public class MyCellListener implements ActionListener { + public void actionPerformed(ActionEvent a) { + + } + } } \ No newline at end of file