mirror of
https://github.com/xfarrow/guify.git
synced 2025-02-17 12:30:45 +01:00
Center the Desktop on the screen
This commit is contained in:
parent
9cef4f2b8a
commit
04bc07266b
@ -117,6 +117,7 @@ public class Desktop extends JFrame implements IDesktopFrame {
|
||||
createJToolBar();
|
||||
getContentPane().add(toolBar, BorderLayout.NORTH);
|
||||
setSize(1280, 720);
|
||||
setLocationRelativeTo(null);
|
||||
|
||||
addWindowListener(new WindowAdapter() {
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user