On Wed, 9 Feb 2022 05:39:52 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> After applying setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT) to > the JMenuBar the arrow keys started to behave the opposite of what expected. > Right arrow goes left and Left arrow goes right when trying to traverse > through keyboard. > > Fixed to reverse the direction traversal for RTL orientation. test/jdk/javax/swing/JMenuBar/MenuBarRTLBug.java line 70: > 68: static volatile boolean passed = false; > 69: > 70: public static void main(String[] args) throws Exception { The submitter said that he use the native L&F should not we check it in the test? ------------- PR: https://git.openjdk.java.net/jdk/pull/7396