Browse Source

Added JFrame and Constructor

master
TRC9696 2 years ago
parent
commit
1e9e6a48c9
  1. 20
      src/main/java/game/StartTicTacToeGame.java
  2. 22
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  3. 10
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

20
src/main/java/game/StartTicTacToeGame.java

@ -1,5 +1,23 @@
package game;
public class StartTicTacToeGame {
import java.awt.Color;
import javax.swing.JFrame;
import Gui.gui;
public class StartTicTacToeGame{
public StartTicTacToeGame() {
gui.Frame.setTitle("TicTacToe"); //kann später weg
gui.Frame.setSize(800, 600);
gui.Frame.setLayout(null);
gui.Frame.setResizable(false);
gui.Frame.setVisible(true);
gui.Frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
gui.Frame.getContentPane().setBackground(Color.BLACK);
}
}

22
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@ -1,11 +1,11 @@
C:\Users\Leon\MiniGameProject\src\main\java\game\StartTicTacToeGame.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\ActionHandler.java
C:\Users\Leon\MiniGameProject\src\main\java\game\loadNextQuestion.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGuiInterface.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\gui.java
C:\Users\Leon\MiniGameProject\src\main\java\game\runGame.java
C:\Users\Leon\MiniGameProject\src\main\java\game\StartDarkSoulsGame.java
C:\Users\Leon\MiniGameProject\src\main\java\main.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\StartGameGui.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGui.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\GuiInterface.java
C:\Users\Halil\MiniGameProject\src\main\java\Gui\GameGui.java
C:\Users\Halil\MiniGameProject\src\main\java\game\runGame.java
C:\Users\Halil\MiniGameProject\src\main\java\game\StartDarkSoulsGame.java
C:\Users\Halil\MiniGameProject\src\main\java\Gui\gui.java
C:\Users\Halil\MiniGameProject\src\main\java\game\StartTicTacToeGame.java
C:\Users\Halil\MiniGameProject\src\main\java\Gui\GameGuiInterface.java
C:\Users\Halil\MiniGameProject\src\main\java\Gui\GuiInterface.java
C:\Users\Halil\MiniGameProject\src\main\java\Gui\StartGameGui.java
C:\Users\Halil\MiniGameProject\src\main\java\main.java
C:\Users\Halil\MiniGameProject\src\main\java\Gui\ActionHandler.java
C:\Users\Halil\MiniGameProject\src\main\java\game\loadNextQuestion.java

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

@ -1,5 +1,5 @@
C:\Users\Leon\MiniGameProject\src\test\java\Gui\guiTest.java
C:\Users\Leon\MiniGameProject\src\test\java\game\loadNextQuestionTest.java
C:\Users\Leon\MiniGameProject\src\test\java\Gui\ActionHandlerTest.java
C:\Users\Leon\MiniGameProject\src\test\java\Gui\GameGuiTest.java
C:\Users\Leon\MiniGameProject\src\test\java\game\runGameTest.java
C:\Users\Halil\MiniGameProject\src\test\java\game\loadNextQuestionTest.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
C:\Users\Halil\MiniGameProject\src\test\java\Gui\ActionHandlerTest.java
Loading…
Cancel
Save