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 31765 - Button Close does not have mnemonic
Summary: Button Close does not have mnemonic
Status: VERIFIED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2003-03-07 10:20 UTC by ccv
Modified: 2008-12-23 10:45 UTC (History)
6 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 ccv 2003-03-07 10:20:34 UTC
From BugTrack bug4626898: a11y problems in the
'Customizer Dialog' 
To reproduce:
- create Session EJB   
(File|New,Templates|J2EE|Session EJB)          
- Bring up the context menu on Session EJB in the
explorer window; select "Customize"  item
Components with no mnemonic :
   Class: javax.swing.JButton {  Close |  Close
button } 
   
joe.warzecha@sun.com wrote:   
	The Close button is supplied by the core NB, I
don't have control over it.

So, please, add mnemonic for the Close button in
the corresponding class.
Comment 1 Marian Mirilovic 2003-03-07 10:55:03 UTC
I am sorry guys, it isn't defect. Close button closes the dialog, and
'Esc' key closes the dialog, too. In the JL&F is defined that default
button and close button may not have set mnemonics (if Esc closes the
dialog). 

IMHO: You can define the text for Close/Cancel button which will not
be tested for mnemonics in Accessibility Tester, as default there is a
text "Cance" :)
Comment 2 ccv 2003-03-07 12:26:35 UTC
In this dialog this button is not default, I push Enter and dialog is
not closed. Who is responsible for setting the button as dufault,
person who used this class? 
In wibdow Options I see that Close button has mnemonic. Who is right?
Comment 3 Marian Mirilovic 2003-03-07 12:44:15 UTC
Options dialog isn't modal dialog, so this should have set Close with
mnemonic.

It's true that this button isn't the default one, but 'Esc' - is
soposed be used for closing modal dialogs is present there, so it
means the "Close" button shouldn't has a mnemonic.
Comment 4 Marian Mirilovic 2003-07-23 17:27:11 UTC
verifying.