Browse Source

Added the ninth Button to the GUI

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

6
src/main/java/game/StartTicTacToeGame.java

@ -92,6 +92,12 @@ public class StartTicTacToeGame implements ActionListener{
button8.setBounds(350, 400, 100,100); button8.setBounds(350, 400, 100,100);
button8.addActionListener(this); button8.addActionListener(this);
gui.Frame.add(button8); gui.Frame.add(button8);
button9 = new JButton();
button9.setBackground(Color.white);
button9.setBounds(500, 400, 100,100);
button9.addActionListener(this);
gui.Frame.add(button9);
} }

Loading…
Cancel
Save