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 85461 - New Entity Class wizard does not support keyboard navigation
Summary: New Entity Class wizard does not support keyboard navigation
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-09-21 16:49 UTC by jfurmankiewicz
Modified: 2008-01-21 12:47 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 jfurmankiewicz 2006-09-21 16:49:26 UTC
I selected New File -> Entity Class from Database

Selected my database schema file, displayed the list of tables in it, in my case
there are a few hundred of them

Placed focus on the "Available Tables" list in the wizard. Pressed "R" to get to
the "Resources" table (one of the tables in my list). Nothing happened. I would
expect the list to scroll down to the first table it finds starting with the
letter I pressed and then scroll down to the next table every time I press that
letter, like most other applications do.

Otherwise, I have to scroll through hundreds of rows to find my particular table.
Comment 1 Andrei Badea 2006-09-22 09:03:04 UTC
Reproduced. Caused by JList ignoring what is really displayed by its
ListCellRenderer and using the result of model elements' toString() for keyboard
navigation.
Comment 2 jfurmankiewicz 2008-01-15 14:35:36 UTC
I am sorry to see you are downgrading the importance of this defect.

It is REALLY annoying when you have a schema with 200 tables and you have to scroll manually by hand to the one you
want. I would ask you to reconsider keeping it at P3, thank you.
Comment 3 Andrei Badea 2008-01-15 14:35:44 UTC
I don't know a way to fix this issue, it is caused by a problem in Swing (and one that won't be addressed very early
IMHO). Will try to file an issue against JDK. Anyway, it doesn't deserve a P3 priority.
Comment 4 Andrei Badea 2008-01-21 12:47:25 UTC
The fix is actually very simple, I don't know why I didn't see it when I looked at this issue back in 2006. Anyway, hope
it makes you happy :-)

Unfortunately it won't make it into 6.1 M1. Could you please verify it in a daily build? Thanks.

Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.form;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.form,v  <-- 
DatabaseTablesPanel.form
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/DatabaseTablesPanel.java,v  <-- 
DatabaseTablesPanel.java
new revision: 1.16; previous revision: 1.15
done
Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/TableUISupport.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/TableUISupport.java,v  <-- 
TableUISupport.java
new revision: 1.5; previous revision: 1.4
done