Browse Source

align QuestionLabel

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

3
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);
}
}

BIN
target/MiniGameProject-1.0-SNAPSHOT.jar

2
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
Loading…
Cancel
Save