Commit 85d74925 authored by Stefan Balev's avatar Stefan Balev

Merge pull request #116 from beltex/dv-center

Set DefaultView class frame location to center of display
parents 8a1348ea 07a507cf
......@@ -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