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.

Bug 70808 - I18N - hard coded mnemonic keys
Summary: I18N - hard coded mnemonic keys
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: I18N, SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-12-27 04:57 UTC by Ken Frank
Modified: 2007-05-26 19:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2005-12-27 04:57:30 UTC
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
Comment 1 Marian Petras 2006-01-06 20:35:58 UTC
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.
Comment 3 Ken Frank 2007-05-26 19:11:41 UTC
v