This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If these are actually used in current code, then the mnemonic key assignments need to come from bundle files, and for each mnemonic, in same bundle should be key/val for the label and key/val for assigned key. privateRadio.setMnemonic('p'); protectedRadio.setMnemonic('o'); publicRadio.setMnemonic('u'); staticCheck.setMnemonic('a'); finalCheck.setMnemonic('f'); transientCheck.setMnemonic('t'); /src/org/netbeans/modules/i18n/java/JavaReplacePanel.java
Confirmed. It seems the mnemonics are really hard-coded. But they are used only on a special page (JavaReplacePanel) of the Internationalization wizard which is disabled by default. Hardly anybody uses it. There were suggestions to remove it completely. Anyway, it needs to be fixed (in NB 5.1) or the panel must be removed.
Fixed in the trunk. Modified files: i18n/src/org/netbeans/modules/i18n/java/: Bundle.properties (1.5) JavaReplacePanel.java (1.16) JavaReplacePanel.form (1.9) Diff: http://i18n.netbeans.org/source/browse/i18n/src/org/netbeans/modules/i18n/java/Bundle.properties?r1=1.4&r2=1.5&diff_format=u http://i18n.netbeans.org/source/browse/i18n/src/org/netbeans/modules/i18n/java/JavaReplacePanel.java?r1=1.15&r2=1.16&diff_format=u http://i18n.netbeans.org/source/browse/i18n/src/org/netbeans/modules/i18n/java/JavaReplacePanel.form?r1=1.8&r2=1.9&diff_format=u
v