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.
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).
needs to be fixed.
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).
Need to investigate where focus is.
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?
In addition please tell exactly how do you reach step 4 and 6 or show me.
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().
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.
Set as WORKSFORME.
I tested on Linux (RH 8.0 KDE 3.0.3-8). Is behaviour on Windows different?
Tab traversal works fine in Windows XP.
Ok. Closing as WORKSFORME.
verifying