On Mon, 14 Feb 2022 07:37:47 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.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   fix

BTW I was just looking around and if you do a google search on "rtl arrow key 
backward" it looks to me as if multiple unrelated open source projects happen 
to have had the same issue (not SFAICT Java based) and came to the same 
conclusion.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7396

Reply via email to