Bug 31408 - [Class Wizard] focus issues
[Class Wizard] focus issues
Status: VERIFIED WORKSFORME
Product: platform
Classification: Unclassified
Component: Window System
3.x
PC Windows ME/2000
: P4 (vote)
: 3.x
Assigned To: mslama
issues@platform
: A11Y, FOCUS, UI
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-24 15:27 UTC by Jan Becicka
Modified: 2008-12-22 23:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2003-02-24 15:27:28 UTC
JDK 1.4.1
Step 4. create fields and step 6 create methods:
It is not clear, which component has focus. Tab
traversal does not work (unable to reach
components using TAB).
Comment 1 Chris Ledantec 2003-02-26 14:30:53 UTC
needs to be fixed.
Comment 2 Svata Dedic 2003-03-11 13:48:53 UTC
The component in question is (in both reported cases) an instance of 
org.openide.explorer.view.ListView. Focus is transferred to that 
component during addNotify() - and apparently the focus is there (Tab 
=> New button has focus). No idea why the appearance does not 
indicate the focus; some special accessibility "feature" of JScrollPane 
(ListView's superclass) ? 
Please check that ListView responds properly to focus calls (and 
reassign back if it does). 
Comment 3 mslama 2003-03-17 11:47:30 UTC
Need to investigate where focus is.
Comment 4 mslama 2003-07-04 16:06:13 UTC
There seems to be focus problem in Wizard in JDK 1.4.1 please try on
JDK 1.4.2. (See issue #34380.) Do you mean current dev build?
Comment 5 mslama 2003-07-04 16:07:30 UTC
In addition please tell exactly how do you reach step 4 and 6 or show me.
Comment 6 mslama 2003-07-04 16:26:22 UTC
In mentioned issue we requested focus on JList in addNotify() AFTER
super.addNotify(). On JDK 1.4.1 it does NOT work sometimes (focus
owner is not inside dialog). On JDK 1.4.2 it works fine. Workaround
for JDK 1.4.1 we foudn was to call requestFocus() using invokeLater().
Comment 7 mslama 2003-07-04 16:51:28 UTC
I checked and it is as Svata said. ListView has apparently focus as it
should because if you press TAB focus goes to New. Unfortunately as
mentioned when ListView is empty there is no change in appearance when
focus is assigned to it.

I checked JList behaviour in Swing Tutorial and there no indication of
focus presence when JList is empty. If you really need it you should
specify how it should be indicated and probably assign it to
openide/explorer.

Closing for now as WORKSFORME.
Comment 8 mslama 2003-07-04 16:52:00 UTC
Set as WORKSFORME.
Comment 9 mslama 2003-07-04 16:53:51 UTC
I tested on Linux (RH 8.0 KDE 3.0.3-8). Is behaviour on Windows different?
Comment 10 Jan Becicka 2003-07-08 14:55:14 UTC
Tab traversal works fine in Windows XP.
Comment 11 mslama 2003-09-02 10:55:10 UTC
Ok. Closing as WORKSFORME.
Comment 12 Marian Mirilovic 2003-09-02 12:52:48 UTC
verifying


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo