Browse Source

Added the fourth Button to the GUI

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

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

@ -62,6 +62,12 @@ public class StartTicTacToeGame implements ActionListener{
button3.setBounds(500, 100, 100,100); button3.setBounds(500, 100, 100,100);
button3.addActionListener(this); 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