diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java index d79e330..4b1091e 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java @@ -1,13 +1,50 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; +import java.awt.EventQueue; + +import javax.swing.JFrame; +import javax.swing.JPanel; + /** * Hello world! * */ -public class GamelauncherMain -{ - public static void main( String[] args ) - { - System.out.println( "Hello World!" ); - } +public class GamelauncherMain extends JFrame { + + + public int breite = 1270; + + public int hoehe = 600; + + + public int breiteLabels = 300; + + public int hoeheLabels = 400 ; + + + private JPanel contentPane; + + public static void main(String[] args) { + + EventQueue.invokeLater(new Runnable() { + + public void run() { + + try { + + GamelauncherMain frame = new GamelauncherMain(); + + frame.setVisible(true); + + } catch (Exception e) { + + e.printStackTrace(); + + } + + } + }); + + } + }