<Swing Dev> [8] Review request for 7158928 [macosx] NLS: Please change the mnemonic assignment system

Pavel Porvatov pavel.porvatov at oracle.com
Wed May 16 11:56:10 UTC 2012


Hi Alexander,

Looks good for me.
> Hello,
>
> Please review a fix for the issue:
>   7158928 [macosx] NLS: Please change the mnemonic assignment system
>   http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7158928
>
> The webrev is http://cr.openjdk.java.net/~alexsch/7158928/webrev.00
>
> This is a request from the NLS team to use text and mnemonics in one 
> property for the Aqua properties.
>
> The fix consists of the following parts:
> - aqua.properties file is added as a compiled property in the makefiles.
>   There are no localizations of the aqua.properties file in the JDK.
> - The aqua bundle is always added to the UIdefaults table in the 
> AquaLookAndFeel. It is necessary to register the bundle and clear the 
> table cache.
> - Text and mnemonic properties are unified in one property for the 
> aqua.properties file in the same way as it was done for the fix 7093156
> For example the following properties
>   xxxText=ABC
>   xxxMnemonic=B
> are unified to one:
>   xxx.textAndMnemonic=A&BC
>
> Thanks,
> Alexandr.
>
>




More information about the swing-dev mailing list