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);