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.
Description: Name: ssR10187 Date: 03/04/2003 Product Version = Sun ONE Studio 5, Standard Edition (Build 030228) IDE Versioning = IDE/1 spec=3.38 impl=030228 Operating System = SunOS version 5.8 running on sparc Java; VM; Vendor = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; Sun Microsystems Inc. To reproduce the bug: 1. Create Web Module in some mounted dir 2. Highlight the Web Module node 3. Bring up the context menu. 4. Select 'Tools/Auto Comment' from context menu See results of Accessibility Tester: =============================================== Tested Window title : Auto Comment Tool [Auto Comment Tool - WEB-INF] =============================================== No Accessible name : Class: javax.swing.JScrollPane$ScrollBar { | } No Accessible description : Class: javax.swing.JList { Comment List | } Class: javax.swing.JList { Method List | } Class: javax.swing.JScrollPane$ScrollBar { | } Components with no LABEL_FOR pointing to it : Class: javax.swing.JList { Comment List | } Class: javax.swing.JList { Method List | } Components with no mnemonic : Class: javax.swing.JLabel { Declaring Class: | Declaring class. } Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic): Class: javax.swing.JToggleButton { | Display classes and members with partial or erroneous Javadoc. } Class: javax.swing.JToggleButton { | Display classes and members without any Javadoc. } Class: javax.swing.JToggleButton { | Display compliant classes and members with full Javadoc. } Class: javax.swing.JToggleButton { | Package } Class: javax.swing.JToggleButton { | Private } Class: javax.swing.JToggleButton { | Protected } Class: javax.swing.JToggleButton { | Public } Components with potential mnemonics conflict: - components with mnemonic 'S' : Class: javax.swing.JLabel { Description: | Tag description. } Class: javax.swing.JLabel { Description: | Tag description. } Class: javax.swing.JLabel { Description: | Tag description. } Class: javax.swing.JLabel { Description: | Tag description. } Class: javax.swing.JLabel { Description: | Tag description. } - components with mnemonic 'A' : Class: javax.swing.JLabel { Name: | Tag name. } Class: javax.swing.JLabel { Name: | Tag name. } ====================================================================== A comment.
Transferred from BugTraq #4826845.
I am assuming this does not only happen for the Web Module, but for any node. Please speak up if this is not correct. Assigning to the Java module, which owns the action.
Javadoc module, actually -- should be fixed for 3.5
The part labeled "Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic)" is spurious: the controls HAVE numeric mnemonics (1 through 7) which do work, actually. The report about conflicting mnemonics is vague - no sign of component's identity. Please correct the reporting tool.
Parts labeled "Potential conflicting mnemonics" are spurious: controls which are reported are actually on *different* panel, which are never displayed at the same time.
I think that conflicting mnemonics message is bug in reporting tool. Components with wrong mnemonics are buttons without label and those buttons have shortcuts. Scrollbar doesn't need accessible name nor accessible description. And after you remove all this, it should not be set as P2 and moreover it seems as duplicate of #31398.
*** Issue 31398 has been marked as a duplicate of this issue. ***
Fixed in trunk: src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java; /cvs/javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java,v <-- AutoCommentPanel.java new revision: 1.48; previous revision: 1.47
Oops, correcting target milestone (the fix was committed only to trunk) & mailing list.
Merged into rel35: /cvs/javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentPanel.java,v <-- AutoCommentPanel.java new revision: 1.47.2.1; previous revision: 1.47
Verified.