From e35d3cb8205b55ac34206061fa9db0536047395b Mon Sep 17 00:00:00 2001 From: TRC9696 Date: Mon, 30 Jan 2023 16:08:50 +0100 Subject: [PATCH] Added JLabel --- src/main/java/game/StartTicTacToeGame.java | 9 +++++++-- .../testCompile/default-testCompile/inputFiles.lst | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/game/StartTicTacToeGame.java b/src/main/java/game/StartTicTacToeGame.java index f363633..c02b97f 100644 --- a/src/main/java/game/StartTicTacToeGame.java +++ b/src/main/java/game/StartTicTacToeGame.java @@ -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 } } \ No newline at end of file diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst index 73def08..b57a516 100644 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst @@ -1,4 +1,5 @@ C:\Users\Halil\MiniGameProject\src\test\java\game\loadNextQuestionTest.java +C:\Users\Halil\MiniGameProject\src\test\java\game\StartTicTacToeGameTest.java C:\Users\Halil\MiniGameProject\src\test\java\Gui\GameGuiTest.java C:\Users\Halil\MiniGameProject\src\test\java\game\runGameTest.java C:\Users\Halil\MiniGameProject\src\test\java\Gui\guiTest.java