diff --git a/src/main/java/Gui/GameGui.java b/src/main/java/Gui/GameGui.java index b21a18d..07f56fc 100644 --- a/src/main/java/Gui/GameGui.java +++ b/src/main/java/Gui/GameGui.java @@ -28,5 +28,8 @@ GridLayout grid; Headline.setFont(new Font("Serif", Font.BOLD, 28)); QuestionLabel = new JLabel("Questions"); MainPanel.add(QuestionLabel); + QuestionLabel.setHorizontalAlignment(JLabel.CENTER); + QuestionLabel.setVerticalAlignment(JLabel.NORTH); + headingPanel.add(QuestionLabel); } } diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index 1b485a4..8854f36 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 e31769e..a4698d5 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 13:53:19 CET 2022 +#Fri Dec 30 14:11:29 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT