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(); } }