You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
376 B
22 lines
376 B
package de.tims.tictactoe;
|
|
|
|
import javax.swing.JFrame;
|
|
|
|
public class ShowGUI {
|
|
|
|
private JFrame frame;
|
|
|
|
public ShowGUI() {
|
|
this.frame = new JFrame("TicTacToe");
|
|
this.frame.setSize(600, 600);
|
|
|
|
GameLogic game = new GameLogic(3);
|
|
this.frame.add(game.generateGUI());
|
|
this.frame.setVisible(true);
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
new ShowGUI();
|
|
}
|
|
|
|
}
|