Browse Source

[MouseGame Class]: Hinzufügen des Frames.

remotes/origin/textadventure
fdai7382 2 years ago
parent
commit
230c8f2406
  1. 28
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

28
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

@ -1,5 +1,31 @@
package de.hs_fulda.gruppenprojekt.JavaGamelauncher;
public class MouseGame {
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class MouseGame extends JFrame {
private JPanel contentPane;
/**
* Launch the application.
*/
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();
}
}
});
}
}
Loading…
Cancel
Save