From 7fa602af2c0ad5f8083703bbee9d8423663dd82e Mon Sep 17 00:00:00 2001 From: kifir Date: Wed, 28 Aug 2024 18:37:53 +0300 Subject: [PATCH] now we pack frame after it is shown --- .../ui/src/main/java/com/rusefi/ui/basic/BasicStartupFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java_console/ui/src/main/java/com/rusefi/ui/basic/BasicStartupFrame.java b/java_console/ui/src/main/java/com/rusefi/ui/basic/BasicStartupFrame.java index 0f612e45fc..cfd3dae182 100644 --- a/java_console/ui/src/main/java/com/rusefi/ui/basic/BasicStartupFrame.java +++ b/java_console/ui/src/main/java/com/rusefi/ui/basic/BasicStartupFrame.java @@ -90,9 +90,9 @@ public class BasicStartupFrame { if (ConnectionAndMeta.isDefaultWhitelabel(whiteLabel)) panel.add(LogoHelper.createUrlLabel()); - frame.getFrame().pack(); frame.showFrame(panel, false); UiUtils.centerWindow(frame.getFrame()); + frame.getFrame().pack(); } private void hideStatusMessage() {