From d08bf2a7258e93fd093e2bd33816119bff61a91b Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:38:18 +0100 Subject: [PATCH] Added the eighth 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 183f217..51379d0 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -86,6 +86,12 @@ public class StartTicTacToeGame implements ActionListener{ button7.setBounds(200, 400, 100,100); button7.addActionListener(this); gui.Frame.add(button7); + + button8 = new JButton(); + button8.setBackground(Color.white); + button8.setBounds(350, 400, 100,100); + button8.addActionListener(this); + gui.Frame.add(button8); }