diff --git a/src/main/java/Gui/gui.java b/src/main/java/Gui/gui.java index 5f73061..bd29472 100644 --- a/src/main/java/Gui/gui.java +++ b/src/main/java/Gui/gui.java @@ -1,6 +1,7 @@ package Gui; import java.awt.Font; +import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import javax.swing.JButton; @@ -30,6 +31,9 @@ public class gui { Panel = new JPanel(); Panel.setSize(width,height); Panel.setLayout(new GridBagLayout()); + GridBagConstraints gbc = new GridBagConstraints(); + gbc.gridwidth = GridBagConstraints.REMAINDER; + gbc.fill = GridBagConstraints.HORIZONTAL; Label = new JLabel("MiniGames"); Label.setHorizontalAlignment(JLabel.CENTER); Label.setFont(new Font("Serif", Font.BOLD, 28)); diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index 60fca95..20a9fd3 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 cb8815d..667ca4c 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 00:56:52 CET 2022 +#Fri Dec 30 00:59:01 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT