diff --git a/src/main/java/Gui/gui.java b/src/main/java/Gui/gui.java index bd29472..0fd8a27 100644 --- a/src/main/java/Gui/gui.java +++ b/src/main/java/Gui/gui.java @@ -37,9 +37,9 @@ public class gui { Label = new JLabel("MiniGames"); Label.setHorizontalAlignment(JLabel.CENTER); Label.setFont(new Font("Serif", Font.BOLD, 28)); - Panel.add(StartBtn); - Panel.add(CloseBtn); - Panel.add(Label); + Panel.add(Label,gbc); + Panel.add(StartBtn,gbc); + Panel.add(CloseBtn,gbc); jf.add(Panel); jf.setVisible(true); Panel.setVisible(true);