Browse Source

Added the seventh Button to the GUI

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

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

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

Loading…
Cancel
Save