Browse Source

Added JLabel

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

9
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
}
}

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\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

Loading…
Cancel
Save