Browse Source

Added the eighth Button to the GUI

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

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

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

Loading…
Cancel
Save