diff --git a/Dorkbox-Util/src/dorkbox/util/SwingUtil.java b/Dorkbox-Util/src/dorkbox/util/SwingUtil.java index 9965ad5..1dd5d2f 100644 --- a/Dorkbox-Util/src/dorkbox/util/SwingUtil.java +++ b/Dorkbox-Util/src/dorkbox/util/SwingUtil.java @@ -30,7 +30,7 @@ class SwingUtil { GraphicsDevice deviceAtMouse = getGraphicsDeviceAt(mouseLocation); Rectangle bounds = deviceAtMouse.getDefaultConfiguration() .getBounds(); - frame.setLocation(bounds.x + bounds.width / 2 - frame.getWidth() / 2, bounds.height / 2 - frame.getHeight() / 2); + frame.setLocation(bounds.x + bounds.width / 2 - frame.getWidth() / 2, bounds.y + bounds.height / 2 - frame.getHeight() / 2); } public static