diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java index 195e34a..ba0fc8f 100644 --- a/src/main/java/Gui/GameGui.java +++ b/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); } } diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index 88ef778..da6f05d 100644 Binary files a/target/MiniGameProject-1.0-SNAPSHOT.jar and b/target/MiniGameProject-1.0-SNAPSHOT.jar differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties index 656e802..51e5df7 100644 --- a/target/maven-archiver/pom.properties +++ b/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