From c997845d5bbd65f980b14876b328fbb2393bd7e9 Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:21:11 +0100 Subject: [PATCH] Added 9 Buttons for the playfield --- src/main/java/game/StartTicTacToeGame.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/game/StartTicTacToeGame.java b/src/main/java/game/StartTicTacToeGame.java index 27abe6c..20e8d54 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -3,6 +3,7 @@ package game; import java.awt.Color; import java.awt.Font; +import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; @@ -11,6 +12,17 @@ import Gui.gui; public class StartTicTacToeGame{ + static JButton button = new JButton(); + static JButton button2 = new JButton(); + static JButton button3 = new JButton(); + static JButton button4 = new JButton(); + static JButton button5 = new JButton(); + static JButton button6 = new JButton(); + static JButton button7 = new JButton(); + static JButton button8 = new JButton(); + static JButton button9 = new JButton(); + static JButton backButton = new JButton(); + static JLabel label = new JLabel();