diff --git a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatSingleComponentTest.java b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatSingleComponentTest.java index 2465c478..050a15be 100644 --- a/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatSingleComponentTest.java +++ b/flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/FlatSingleComponentTest.java @@ -139,6 +139,8 @@ public class FlatSingleComponentTest applyComponentOrientation( getComponentOrientation().isLeftToRight() ? ComponentOrientation.RIGHT_TO_LEFT : ComponentOrientation.LEFT_TO_RIGHT ); + revalidate(); + repaint(); }, KeyStroke.getKeyStroke( "alt R" ), JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT );