Browse Source

Added 9 Buttons for the playfield

master
TRC9696 2 years ago
parent
commit
c997845d5b
  1. 12
      src/main/java/game/StartTicTacToeGame.java

12
src/main/java/game/StartTicTacToeGame.java

@ -3,6 +3,7 @@ package game;
import java.awt.Color; import java.awt.Color;
import java.awt.Font; import java.awt.Font;
import javax.swing.JButton;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.JLabel; import javax.swing.JLabel;
@ -11,6 +12,17 @@ import Gui.gui;
public class StartTicTacToeGame{ public class StartTicTacToeGame{
static JButton button = new JButton();
static JButton button2 = new JButton();
static JButton button3 = new JButton();
static JButton button4 = new JButton();
static JButton button5 = new JButton();
static JButton button6 = new JButton();
static JButton button7 = new JButton();
static JButton button8 = new JButton();
static JButton button9 = new JButton();
static JButton backButton = new JButton();
static JLabel label = new JLabel(); static JLabel label = new JLabel();

Loading…
Cancel
Save