Initial commit
This commit is contained in:
17
src/de/mp/jgame2d/core/Boot.java
Normal file
17
src/de/mp/jgame2d/core/Boot.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package de.mp.jgame2d.core;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
public class Boot {
|
||||
|
||||
public static void main() {
|
||||
JFrame window = new JFrame();
|
||||
window.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||
window.setResizable(false);
|
||||
window.setTitle("JGame2D");
|
||||
|
||||
window.setLocationRelativeTo(null);
|
||||
window.setVisible(true);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user