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 135067 - A11Y: Component with no mnemonic in "Java DB Database" dialog
Summary: A11Y: Component with no mnemonic in "Java DB Database" dialog
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-05-14 16:47 UTC by Roman Mostyka
Modified: 2008-12-22 10:23 UTC (History)
0 users

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 Roman Mostyka 2008-05-14 16:47:25 UTC
Components with no mnemonic :
  Class: javax.swing.JButton {  No |  No button }
Comment 1 David Vancouvering 2008-08-15 20:48:53 UTC
Over to you, John
Comment 2 David Vancouvering 2008-08-19 01:16:39 UTC
I guess changing the subcomponent didn't actually reassign the issue
Comment 3 John Baker 2008-08-21 10:37:17 UTC
The No button shouldn't be reported.  

Please re-run the test
Comment 4 Roman Mostyka 2008-08-21 18:01:52 UTC
It is here. "Java DB Database" dialog appears after 5 seconds after attempt to start Java DB and it is confirmation
dialog to continue trying: Yes or No.
Comment 5 John Baker 2008-08-22 06:31:38 UTC
Yes I know the dialog is there, but I was asking you to re-run the A11Y test.  I can just run it myself 
Comment 6 John Baker 2008-08-22 07:28:59 UTC
It's just a confirmation.

NotifyDescriptor.Confirmation(..) doesn't provide a way to add a mnemonic for the button.  A11Y test should ignore this
dialog.
Comment 7 Roman Mostyka 2008-08-22 10:38:29 UTC
Do you mean that this dialog isn't from NetBeans and we can't do nothing with it?
If this dialog is from NetBeans, but somewhere from core, then this issue should be just reassigned. Reopened this issue
just to not forget to do it later if another team can do something with this.
If this dialog isn't from NetBeans and nobody from NetBeans can do anything, then please close it again and sorry for
inconvenience, just want to be sure to not return to this issue again in the future. Thanks.
Comment 8 John Baker 2008-08-22 15:41:41 UTC
I posted a question to openide
Comment 9 John Baker 2008-08-25 22:45:10 UTC
Roman could you please re-run the test to make sure the result is the same
Comment 10 Roman Mostyka 2008-08-26 12:49:05 UTC
Yes, the result is still the same.
Comment 11 John Baker 2008-08-28 02:22:21 UTC
Not easy to fix.

I fixed the mnemonics but broke some logic
Comment 12 John Baker 2008-08-29 01:19:27 UTC
The NotifyDescriptor.Confirmation(...) should implement the Mnemonics class for the No button
Comment 13 Lukas Hasik 2008-08-29 10:32:21 UTC
afaik, there is no need to have mnemonics assigned for the default "confirm/decline" buttons. Those buttons are mapped
to ESC / ENTER. 

As the NO button should be mapped to ESC I'm closing this issue. I have no idea how to invoke the dialog but from the
description it seems as the case that I've just described