From cae2397ec258b2a6911ff6e9c76f9cf16b450f30 Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:36:08 +0100 Subject: [PATCH] Added the seventh 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 106bbe5..183f217 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -80,6 +80,12 @@ public class StartTicTacToeGame implements ActionListener{ button6.setBounds(500, 250, 100,100); button6.addActionListener(this); gui.Frame.add(button6); + + button7 = new JButton(); + button7.setBackground(Color.white); + button7.setBounds(200, 400, 100,100); + button7.addActionListener(this); + gui.Frame.add(button7); }