From 30e0b0fe1fffdfc474513f742170f7e8e87b6059 Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:26:50 +0100 Subject: [PATCH] Added the second Button to the GUI --- src/main/java/game/StartTicTacToeGame.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/game/StartTicTacToeGame.java b/src/main/java/game/StartTicTacToeGame.java index 132de66..44d2a24 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -50,6 +50,14 @@ public class StartTicTacToeGame implements ActionListener{ button.setBounds(200, 100, 100,100); button.addActionListener(this); gui.Frame.add(button); + + button2 = new JButton(); + button2.setBackground(Color.white); + button2.setBounds(350, 100, 100,100); + button2.addActionListener(this); + gui.Frame.add(button2); + + }