From b05449e0e83a16fd6dc40b9eadf39a4e251eb579 Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:29:14 +0100 Subject: [PATCH] Added the third Button to the GUI --- src/main/java/game/StartTicTacToeGame.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/game/StartTicTacToeGame.java b/src/main/java/game/StartTicTacToeGame.java index 44d2a24..2a8675d 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -57,7 +57,11 @@ public class StartTicTacToeGame implements ActionListener{ button2.addActionListener(this); gui.Frame.add(button2); - + button3 = new JButton(); + button3.setBackground(Color.white); + button3.setBounds(500, 100, 100,100); + button3.addActionListener(this); + gui.Frame.add(button3); }