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