diff --git a/src/main/java/Gui/gui.java b/src/main/java/Gui/gui.java index 57e24a2..820fbb0 100644 --- a/src/main/java/Gui/gui.java +++ b/src/main/java/Gui/gui.java @@ -1,9 +1,11 @@ package Gui; +import javax.swing.JButton; import javax.swing.JFrame; public class gui { JFrame jf; + JButton StartBtn, CloseBtn; public static int width = 800, height = 600; @@ -14,7 +16,12 @@ public class gui { jf.setLocationRelativeTo(null); jf.setResizable(false); jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - + StartBtn = new JButton("Starte Spiel"); + StartBtn.setSize(300,100); + jf.add(StartBtn); + CloseBtn = new JButton("Schlieen"); + CloseBtn.setSize(300,100); + jf.add(CloseBtn); } } diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index ff131d3..8c3ad28 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 f531e08..0200832 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 00:46:17 CET 2022 +#Fri Dec 30 00:53:10 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT