diff --git a/Hitori/src/main/java/PR2/HitoriSpiel/Main/Main.java b/Hitori/src/main/java/PR2/HitoriSpiel/Main/Main.java index 89c610a..80e6541 100644 --- a/Hitori/src/main/java/PR2/HitoriSpiel/Main/Main.java +++ b/Hitori/src/main/java/PR2/HitoriSpiel/Main/Main.java @@ -1,12 +1,12 @@ package PR2.HitoriSpiel.Main; -import PR2.HitoriSpiel.GUI.HitoriApp; +import PR2.HitoriSpiel.GUI.StartMenu; + +import javax.swing.*; public class Main { public static void main(String[] args) { - HitoriApp app = new HitoriApp(); - - app.start(); + SwingUtilities.invokeLater(() -> new StartMenu()); } } \ No newline at end of file