Browse Source

Added the third Button to the GUI

master
TRC9696 2 years ago
parent
commit
b05449e0e8
  1. 6
      src/main/java/game/StartTicTacToeGame.java

6
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);
}

Loading…
Cancel
Save