<Swing Dev> [8] Review request for 7158928 [macosx] NLS: Please change the mnemonic assignment system
    Alexander Scherbatiy 
    alexandr.scherbatiy at oracle.com
       
    Tue May 15 14:47:27 UTC 2012
    
    
  
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