Hi Prasanta,
1521 * For example, for Windows look and feel, mnemonic will be underlined
1522 * only when ALT key is pressed.
I'm not sure that mentioning Windows L&F in that way is justified. This
behavior may vary. In Windows L&F mnemonics hiding depends on the
"Button.showMnemonics" value which in its turn is determined from the
native desktop settings.
--Semyon
On 07/17/2017 11:18 PM, Prasanta Sadhukhan wrote:
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