18 lines
374 B
Java
18 lines
374 B
Java
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);
|
|
}
|
|
|
|
}
|