mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27: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()
|
applyComponentOrientation( getComponentOrientation().isLeftToRight()
|
||||||
? ComponentOrientation.RIGHT_TO_LEFT
|
? ComponentOrientation.RIGHT_TO_LEFT
|
||||||
: ComponentOrientation.LEFT_TO_RIGHT );
|
: ComponentOrientation.LEFT_TO_RIGHT );
|
||||||
|
revalidate();
|
||||||
|
repaint();
|
||||||
},
|
},
|
||||||
KeyStroke.getKeyStroke( "alt R" ),
|
KeyStroke.getKeyStroke( "alt R" ),
|
||||||
JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT );
|
JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT );
|
||||||
|
|||||||
Reference in New Issue
Block a user