|
|
@ -3,14 +3,18 @@ package game; |
|
|
|
import java.awt.Color; |
|
|
|
|
|
|
|
import javax.swing.JFrame; |
|
|
|
import javax.swing.JLabel; |
|
|
|
|
|
|
|
import Gui.gui; |
|
|
|
|
|
|
|
|
|
|
|
public class StartTicTacToeGame{ |
|
|
|
|
|
|
|
static JLabel label = new JLabel(); |
|
|
|
|
|
|
|
|
|
|
|
public StartTicTacToeGame() { |
|
|
|
gui.Frame.setTitle("TicTacToe"); //kann später weg |
|
|
|
gui.Frame.setTitle("Tic-Tac-Toe"); |
|
|
|
gui.Frame.setSize(800, 600); |
|
|
|
gui.Frame.setLayout(null); |
|
|
|
gui.Frame.setResizable(false); |
|
|
@ -18,6 +22,7 @@ public class StartTicTacToeGame{ |
|
|
|
gui.Frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
|
|
|
gui.Frame.getContentPane().setBackground(Color.BLACK); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//refactoring sollten nicht die funktionalität ändern |
|
|
|
} |
|
|
|
} |