]> git.mxchange.org Git - addressbook-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/gui/AddressbookFrame.java
Fixes for broken commit, as type-hints must be fixed or casted
[addressbook-lib.git] / Addressbook / src / org / mxchange / addressbook / client / gui / AddressbookFrame.java
index 1f9db8b75af48612d8bfb7c080282f7c39180b18..c5d05e369d48e87b28da7dbff1ec381509ffebfe 100644 (file)
@@ -404,7 +404,7 @@ public class AddressbookFrame extends BaseFrameworkSystem implements ClientFrame
 
                // Only hide it on close and make it appear in middle of screen
                this.addContact.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
-               this.addContact.setLocationRelativeTo(null);
+               this.addContact.setLocationRelativeTo(this.frame);
 
                // Set always on top and auto-focus
                this.addContact.setAlwaysOnTop(true);