mirror of
https://github.com/xfarrow/guify.git
synced 2025-06-05 22:09:25 +02:00
Center the Desktop on the screen
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user