From a07a8c07e08d7e3cea48bb5240afa2a4fdd949df Mon Sep 17 00:00:00 2001 From: SiboVG Date: Sun, 14 Aug 2022 10:43:52 +0200 Subject: [PATCH] Center debug log to center of BasicFrame instead of screen --- swing/src/net/sf/openrocket/gui/dialogs/DebugLogDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swing/src/net/sf/openrocket/gui/dialogs/DebugLogDialog.java b/swing/src/net/sf/openrocket/gui/dialogs/DebugLogDialog.java index a64c8de5c..4a2e81794 100644 --- a/swing/src/net/sf/openrocket/gui/dialogs/DebugLogDialog.java +++ b/swing/src/net/sf/openrocket/gui/dialogs/DebugLogDialog.java @@ -381,7 +381,7 @@ public class DebugLogDialog extends JDialog { }); GUIUtil.setDisposableDialogOptions(this, close); - setLocationRelativeTo(null); + setLocationRelativeTo(parent); followBox.requestFocus(); }