<Swing Dev> [10] RFR JDK-7163851:Swing. Documentation for AbstractButton.setMnemonic(int) describes behavior not correctly

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Tue Jul 18 06:18:22 UTC 2017


Hi All,

Please review a doc modification making it clear that mnemonic display 
depends on L&F.
It seems, the doc in current form, may imply that
first occurence of the character defined by the mnemonic will be 
underlined "always" but it is not so.
For windows L&F, it is underlined only when ALT key is pressed.

Bug: https://bugs.openjdk.java.net/browse/JDK-7163851
webrev: http://cr.openjdk.java.net/~psadhukhan/7163851/webrev.00/

Regards
Prasanta



More information about the swing-dev mailing list