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

Abhishek Kumar abhiscxk at openjdk.org
Thu Jun 20 09:17:56 UTC 2024


On Fri, 14 Jun 2024 20:21:16 GMT, Phil Race <prr at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   condition update
>
> src/java.desktop/share/classes/javax/swing/plaf/synth/SynthGraphicsUtils.java line 780:
> 
>> 778:             }
>> 779: 
>> 780:             if (c instanceof JLabel && ((JLabel) c).getDisplayedMnemonic() != '\0') {
> 
> you can use else if in all these cases

Updated.

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

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


More information about the client-libs-dev mailing list