Browse Source

Add Wer wird Millionaer heading

master
Leon Montag 2 years ago
parent
commit
e9af61d83e
  1. 5
      src/main/java/Gui/GameGui.java
  2. BIN
      target/MiniGameProject-1.0-SNAPSHOT.jar
  3. 2
      target/maven-archiver/pom.properties

5
src/main/java/Gui/GameGui.java

@ -2,11 +2,13 @@ package Gui;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class GameGui {
public static JPanel MainPanel, ButtonPanel, headingPanel;
public static JLabel Headline;
GridLayout grid;
@ -18,5 +20,8 @@ GridLayout grid;
grid.setVgap(150);
headingPanel.setLayout(grid);
gui.Frame.add(MainPanel);
Headline = new JLabel("Wer wird Millionär?");
headingPanel.add(Headline);
MainPanel.add(headingPanel);
}
}

BIN
target/MiniGameProject-1.0-SNAPSHOT.jar

2
target/maven-archiver/pom.properties

@ -1,5 +1,5 @@
#Generated by Maven
#Fri Dec 30 13:40:39 CET 2022
#Fri Dec 30 13:42:45 CET 2022
groupId=MiniGameProject
artifactId=MiniGameProject
version=1.0-SNAPSHOT
Loading…
Cancel
Save