RFR: 8155030: The Menu Mnemonics are always displayed for GTK LAF [v5]

Abhishek Kumar abhiscxk at openjdk.org
Fri Jun 14 10:07:39 UTC 2024


On Fri, 14 Jun 2024 09:06:24 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review comment fix
>
> src/java.desktop/share/classes/javax/swing/plaf/synth/SynthGraphicsUtils.java line 677:
> 
>> 675:                 // Check to see if the Mnemonic should be rendered in GTK.
>> 676:                 if (UIManager.getBoolean("RootPane.altPress")
>> 677:                     && SynthLookAndFeel.isMnemonicHidden() == true) {
> 
> Suggestion:
> 
>                 if (UIManager.getBoolean("RootPane.altPress")
>                     && SynthLookAndFeel.isMnemonicHidden()) {
> 
> 
> Functionally the same.

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18992#discussion_r1639593922


More information about the client-libs-dev mailing list