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 38909 - a11y: Mnemonic conflict in Method Customizer dialog
Summary: a11y: Mnemonic conflict in Method Customizer dialog
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
: 38928 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-16 13:40 UTC by _ lcincura
Modified: 2007-09-26 09:14 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 _ lcincura 2004-01-16 13:40:10 UTC
-components with mnemonics 'P':
Class: javax.swing.JButton { Up | N/A }
Class: javax.swing.JLabel {Parameters: | }
Class: javax.swing.JLabel {Return type: | }

-components with mnemonics 'E':
Class: javax.swing.JButton { Edit... | N/A }
Class: javax.swing.JLabel { Exceptions: | }

-components with mnemonics 'V':
Class: javax.swing.JButton { Remove | N/A }
Class: javax.swing.JCheckBox { volatile | N/A }

-components with mnemonics 'T':
Class: javax.swing.JButton { Edit... | N/A }
Class: javax.swing.JCheckBox { transient | N/A }
Comment 1 Jan Pokorsky 2004-01-16 21:13:06 UTC
After consultation with Dusan (HIE guy) we agreed to remove mnemonics
for Other Modifiers checkboxes.

Fixed in
/cvs/java/srcmodel/src/org/openide/explorer/propertysheet/editors/ModifierEditor.java,v1.4
/cvs/java/srcmodel/src/org/openide/explorer/propertysheet/editors/ModifierPanel.form,v1.3
/cvs/java/srcmodel/src/org/openide/explorer/propertysheet/editors/ModifierPanel.java,v1.5
/cvs/java/srcmodel/src/org/openide/src/beaninfo/Bundle.properties,v1.5
/cvs/java/srcmodel/src/org/openide/src/nodes/Bundle.properties,v1.7
/cvs/java/srcmodel/src/org/openide/src/nodes/MethodCustomizer.java,v1.5
Comment 2 ehucka 2004-01-19 14:30:04 UTC
*** Issue 38928 has been marked as a duplicate of this issue. ***
Comment 3 _ lcincura 2004-01-22 09:20:03 UTC
In build 200401201900 following accessibility problem occurs in the 
dialog:

Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't 
contain mnemonic):
  Class: javax.swing.JCheckBox {  abstract |  N/A }
  Class: javax.swing.JCheckBox {  final |  N/A }
  Class: javax.swing.JCheckBox {  native |  N/A }
  Class: javax.swing.JCheckBox {  static |  N/A }
  Class: javax.swing.JCheckBox {  synchronized |  N/A }
  Class: javax.swing.JCheckBox {  transient |  N/A }
  Class: javax.swing.JCheckBox {  volatile |  N/A }


Components with potential mnemonics conflict:
- components with mnemonic '?' :
  Class: javax.swing.JCheckBox {  abstract |  N/A }
  Class: javax.swing.JCheckBox {  final |  N/A }
  Class: javax.swing.JCheckBox {  native |  N/A }
  Class: javax.swing.JCheckBox {  static |  N/A }
  Class: javax.swing.JCheckBox {  synchronized |  N/A }
  Class: javax.swing.JCheckBox {  transient |  N/A }
  Class: javax.swing.JCheckBox {  volatile |  N/A }
Comment 4 Jan Pokorsky 2004-01-22 10:13:20 UTC
It is intentional. As you can read in my previous comment I removed
mnemonics from the method modifiers. Since there is no straight way in
the api how to remove already set mnemonics I used
KeyEvent.CHAR_UNDEFINED for those checkboxes.
Comment 5 Marian Mirilovic 2004-01-22 12:41:55 UTC
Ok, I agreed, if it has been consulted with HIE :)

I am not sure right mnemonic is set now ('?'), but it's again on HIE
guru to decide this solution is the best, so ....

Lubo, mark this one as verified, please
thanks advance.
Comment 6 _ lcincura 2004-01-22 14:42:24 UTC
Verified in 200401201900
Comment 7 Quality Engineering 2007-09-20 11:54:19 UTC
Reorganization of java component