From d8fafd0a6985f31c6efa8d95565a7ec5ff641dfc Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:39:30 +0100 Subject: [PATCH] Added the ninth Button to the GUI --- src/main/java/game/StartTicTacToeGame.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/game/StartTicTacToeGame.java b/src/main/java/game/StartTicTacToeGame.java index 51379d0..e1a9dd3 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -92,6 +92,12 @@ public class StartTicTacToeGame implements ActionListener{ button8.setBounds(350, 400, 100,100); button8.addActionListener(this); gui.Frame.add(button8); + + button9 = new JButton(); + button9.setBackground(Color.white); + button9.setBounds(500, 400, 100,100); + button9.addActionListener(this); + gui.Frame.add(button9); }