Browse Source

Added JLabel

master
TRC9696 2 years ago
parent
commit
e35d3cb820
  1. 7
      src/main/java/game/StartTicTacToeGame.java
  2. 1
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

7
src/main/java/game/StartTicTacToeGame.java

@ -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);
@ -19,5 +23,6 @@ public class StartTicTacToeGame{
gui.Frame.getContentPane().setBackground(Color.BLACK); gui.Frame.getContentPane().setBackground(Color.BLACK);
//refactoring sollten nicht die funktionalität ändern
} }
} }

1
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\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\Gui\GameGuiTest.java
C:\Users\Halil\MiniGameProject\src\test\java\game\runGameTest.java C:\Users\Halil\MiniGameProject\src\test\java\game\runGameTest.java
C:\Users\Halil\MiniGameProject\src\test\java\Gui\guiTest.java C:\Users\Halil\MiniGameProject\src\test\java\Gui\guiTest.java

Loading…
Cancel
Save