Commit 07a507cf authored by beltex's avatar beltex

Set DefaultView class frame location to center of display

parent 8a1348ea
......@@ -216,6 +216,7 @@ public class DefaultView extends View implements WindowListener
frame.setLayout(new BorderLayout());
frame.add(this, BorderLayout.CENTER);
frame.setSize(800, 600);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
frame.addWindowListener(this);
frame.addKeyListener(shortcuts);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment