Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prsadhuk committed Nov 2, 2023
1 parent 2a2c0cf commit e2c4dfd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/manual/swing/JFXPanelOrientationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -80,15 +80,15 @@ public void start(Stage stage) {
}

private void quit() {
frame.dispose();
frame.dispose();
Platform.exit();
}

private static void initSwing() {
frame = new JFrame();

jfxPanel = new JFXPanel();

Platform.runLater(JFXPanelOrientationTest::initFX);

JCheckBox rtl = new JCheckBox("RTL (JFrame.componentOrientation)");
Expand All @@ -98,7 +98,7 @@ private static void initSwing() {
frame.validate();
frame.repaint();
});

JToolBar tb = new JToolBar();
tb.add(rtl);

Expand Down

0 comments on commit e2c4dfd

Please sign in to comment.