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 27000 - Hard-coded mnemonics
Summary: Hard-coded mnemonics
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2002-09-04 06:24 UTC by _ mihmax
Modified: 2003-10-29 12:51 UTC (History)
0 users

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 _ mihmax 2002-09-04 06:24:36 UTC
javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java
        okButton.setMnemonic( '1' );
        errButton.setMnemonic( '2' );
        missButton.setMnemonic( '3' );
        publicButton.setMnemonic( '4' );
        packageButton.setMnemonic( '5' );
        protectedButton.setMnemonic( '6' );
        privateButton.setMnemonic( '7' );

javadoc/src/org/netbeans/modules/javadoc/comments/JavaDocEditorPanel.java
        boldButton.setMnemonic( 'B' );
        italicButton.setMnemonic( 'I' );
        underlineButton.setMnemonic( 'U' );
        codeButton.setMnemonic( 'C' );
        preButton.setMnemonic( 'P' );
        linkButton.setMnemonic( 'L' );

Thanks to Tom Ball who discovered
Comment 1 Svata Dedic 2002-09-05 20:00:07 UTC
Do you think that the numbered mnemonics are evil ?
Comment 2 _ mihmax 2002-09-05 21:02:56 UTC
Not sure, but they'd better reside in bundles, like all other
mnemonics do.
And 'x' mnemonics are VERY evil
Comment 3 Svata Dedic 2002-09-06 11:07:09 UTC
Fixed in dev trunk
Comment 4 Milan Kubec 2002-10-14 13:54:23 UTC
Verified.