mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-10 22:17:13 -06:00
Testing: FlatSingleComponentTest: revalidate and repaint when changing component orientation using Alt+R
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user