Browse Source

Added the fourth Button to the GUI

master
TRC9696 2 years ago
parent
commit
3940b69133
  1. 8
      src/main/java/game/StartTicTacToeGame.java

8
src/main/java/game/StartTicTacToeGame.java

@ -61,7 +61,13 @@ public class StartTicTacToeGame implements ActionListener{
button3.setBackground(Color.white);
button3.setBounds(500, 100, 100,100);
button3.addActionListener(this);
gui.Frame.add(button3);
gui.Frame.add(button3);
button4 = new JButton();
button4.setBackground(Color.white);
button4.setBounds(200, 250, 100,100);
button4.addActionListener(this);
gui.Frame.add(button4);
}

Loading…
Cancel
Save