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.
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.
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" :)
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?
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.
verifying.