diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java index ba0fc8f..cf4ba8d 100644 --- a/src/main/java/Gui/GameGui.java +++ b/src/main/java/Gui/GameGui.java @@ -1,5 +1,6 @@ package Gui; +import java.awt.Font; import java.awt.GridLayout; import javax.swing.JLabel; @@ -23,5 +24,7 @@ GridLayout grid; Headline = new JLabel("Wer wird Millionär?"); headingPanel.add(Headline); MainPanel.add(headingPanel); + Headline.setHorizontalAlignment(JLabel.CENTER); + Headline.setFont(new Font("Serif", Font.BOLD, 28)); } } diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index da6f05d..1b485a4 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 51e5df7..e31769e 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 13:42:45 CET 2022 +#Fri Dec 30 13:53:19 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT