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

Summary: Hard-coded mnemonics
Product: java Reporter: _ mihmax <mihmax>
Component: JavadocAssignee: Svata Dedic <sdedic>
Status: VERIFIED FIXED    
Severity: blocker Keywords: I18N
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.