Browse Source

Change the look of the headline

master
Leon Montag 2 years ago
parent
commit
d035a5251f
  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

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

BIN
target/MiniGameProject-1.0-SNAPSHOT.jar

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