JDK-7158926 : NLS: Please change the mnemonic assignment system in swing demos
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:8
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2012-04-04
Updated:2014-10-14
Resolved:2012-05-22
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This is a reques from the issue 7093156 to unify text and mnemonics for swing demos
jdk/src/closed/share/demo/jfc/SwingSet2/resources/swingset.properties
Comments
See the list of tests in JDK-7093156
06-09-2013
EVALUATION
The properties and mnemonics are unified to one property.
For example the following properties:
LafMenu.laf_label=Look & Feel
LafMenu.laf_mnemonic=L
are converted to:
LafMenu.laf.labelAndMnemonic=&Look && Feel
'&' symbol is used as a mnemonic pointer
'&&' is treated as the'&' symbol
The added TextAndMnemonicUtils class allows to extract text and
mnemonics from the unified text & mnemonic property.