From 7f35810f84b0473770526ff1ac4abc54a27c79e3 Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:35:11 +0100 Subject: [PATCH] Added the sixth 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 ee44fe8..106bbe5 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -74,6 +74,12 @@ public class StartTicTacToeGame implements ActionListener{ button5.setBounds(350, 250, 100,100); button5.addActionListener(this); gui.Frame.add(button5); + + button6 = new JButton(); + button6.setBackground(Color.white); + button6.setBounds(500, 250, 100,100); + button6.addActionListener(this); + gui.Frame.add(button6); }