|
@ -1,13 +1,50 @@ |
|
|
package de.hs_fulda.gruppenprojekt.JavaGamelauncher; |
|
|
package de.hs_fulda.gruppenprojekt.JavaGamelauncher; |
|
|
|
|
|
|
|
|
|
|
|
import java.awt.EventQueue; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JFrame; |
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Hello world! |
|
|
* 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(); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |