about summary refs log tree commit diff stats
path: root/src/com/fourisland
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/fourisland')
-rw-r--r--src/com/fourisland/frigidearth/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/fourisland/frigidearth/Main.java b/src/com/fourisland/frigidearth/Main.java index 7ded79f..bd617b3 100644 --- a/src/com/fourisland/frigidearth/Main.java +++ b/src/com/fourisland/frigidearth/Main.java
@@ -47,7 +47,7 @@ public class Main extends Canvas
47 mainWindow = new JFrame(); 47 mainWindow = new JFrame();
48 mainWindow.setTitle("Frigid Earth"); 48 mainWindow.setTitle("Frigid Earth");
49 mainWindow.setSize(CANVAS_WIDTH, CANVAS_HEIGHT); 49 mainWindow.setSize(CANVAS_WIDTH, CANVAS_HEIGHT);
50 mainWindow.setLocation(GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint().x-CANVAS_WIDTH, GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint().y-CANVAS_HEIGHT); 50 mainWindow.setLocation(GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint().x-CANVAS_WIDTH/2, GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint().y-CANVAS_HEIGHT/2);
51 mainWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 51 mainWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
52 mainWindow.addKeyListener(new KeyListener() { 52 mainWindow.addKeyListener(new KeyListener() {
53 @Override 53 @Override