Browse Source

Added the fifth Button to the GUI

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

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

@ -68,6 +68,12 @@ public class StartTicTacToeGame implements ActionListener{
button4.setBounds(200, 250, 100,100); button4.setBounds(200, 250, 100,100);
button4.addActionListener(this); button4.addActionListener(this);
gui.Frame.add(button4); gui.Frame.add(button4);
button5 = new JButton();
button5.setBackground(Color.white);
button5.setBounds(350, 250, 100,100);
button5.addActionListener(this);
gui.Frame.add(button5);
} }

Loading…
Cancel
Save