Browse Source

Added Tic-Tac-Toe Text

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

8
src/main/java/game/StartTicTacToeGame.java

@ -1,6 +1,7 @@
package game;
import java.awt.Color;
import java.awt.Font;
import javax.swing.JFrame;
import javax.swing.JLabel;
@ -23,6 +24,11 @@ public class StartTicTacToeGame{
gui.Frame.getContentPane().setBackground(Color.BLACK);
//refactoring sollten nicht die funktionalität ändern
label = new JLabel();
label.setText("Tic-Tac-Toe");
label.setForeground(Color.white);
label.setFont(new Font("arial", Font.PLAIN, 30));
label.setBounds(320,20,500,50);
gui.Frame.add(label);
}
}

1
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

@ -1,5 +1,4 @@
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