From e2c4dfd714967f00c6e1e4558a43875954008cd6 Mon Sep 17 00:00:00 2001 From: Prasanta Sadhukhan Date: Thu, 2 Nov 2023 09:01:08 +0100 Subject: [PATCH] Test fix --- tests/manual/swing/JFXPanelOrientationTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/manual/swing/JFXPanelOrientationTest.java b/tests/manual/swing/JFXPanelOrientationTest.java index 29147b101f3..3c78c9289a3 100644 --- a/tests/manual/swing/JFXPanelOrientationTest.java +++ b/tests/manual/swing/JFXPanelOrientationTest.java @@ -50,7 +50,7 @@ public class JFXPanelOrientationTest extends Application { private static JFXPanel jfxPanel; private static TextArea textArea; - private static JFrame frame; + private static JFrame frame; public static void main(String[] args) { Application.launch(args); @@ -80,7 +80,7 @@ public void start(Stage stage) { } private void quit() { - frame.dispose(); + frame.dispose(); Platform.exit(); } @@ -88,7 +88,7 @@ private static void initSwing() { frame = new JFrame(); jfxPanel = new JFXPanel(); - + Platform.runLater(JFXPanelOrientationTest::initFX); JCheckBox rtl = new JCheckBox("RTL (JFrame.componentOrientation)"); @@ -98,7 +98,7 @@ private static void initSwing() { frame.validate(); frame.repaint(); }); - + JToolBar tb = new JToolBar(); tb.add(rtl);