From 51183ea741a2818106d9fb4f2f4594325ac4c2a8 Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:34:23 +0100 Subject: [PATCH] Added the fifth 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 c4b1e9e..ee44fe8 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -68,6 +68,12 @@ public class StartTicTacToeGame implements ActionListener{ button4.setBounds(200, 250, 100,100); button4.addActionListener(this); gui.Frame.add(button4); + + button5 = new JButton(); + button5.setBackground(Color.white); + button5.setBounds(350, 250, 100,100); + button5.addActionListener(this); + gui.Frame.add(button5); }