RFR: 8326458: Menu mnemonic doesn't toggle between show and hide in Windows LAF when F10 is pressed. [v2]
Abhishek Kumar
abhiscxk at openjdk.org
Fri Mar 1 10:24:45 UTC 2024
On Thu, 29 Feb 2024 11:24:38 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> You could add @modules java.desktop/com.sun.java.swing.plaf.windows to jtreg tags and access the com.sun.java.swing.plaf.windows.WindowsLookAndFeel.isMnemonicHidden method to verify that the mnemonics are shown or hidden based on how many times you (the Robot) pressed F10 key as well as the menu bar is active or not.
How to check for menubar whether it is active or not? Should I check the keyboard focus?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17961#issuecomment-1972919487
More information about the client-libs-dev
mailing list