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.
Please make WelcomeComponent focusable: Suggested fix: Add to constructor: this.setFocusable(true); Please see IZ 31597. The S1S-branded welcome screen cannot be focused with keyboard because of a change to TopComponent. TopComponent is not focusable by default. Unlike the NetBeans 3.4 Welcome Screen, the S1S-branded screen contains JButtons that can be CTRL-Tab'd to, but first the TC must be focusable using CTRL-3. There is no circumvention and this is an accessibility issue.
Fixed in trunk. Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.java new revision: 1.16; previous revision: 1.15 done
I'm sorry. I had to revert this fix because setFocusable works only on jdk1.4 not on jdk1.3.1. NB is build on jdk1.3.1 so it causes not buildable state.
The change should be made in the release35 branch. S1S Nevada is built on JDK 1.4, so setFocusable() will compile. S1S Nevada does not support JDK 1.3.1. The change should also be made in the trunk. If NetBeans is still being built on JDK 1.3.1, the correct method is setRequestFocusEnabled(true).
Thanks Jeri! Fixed. There is setRequestFocusEnabled(true) used for both nb and release35 branch (it is also built on jdk1.3.1) Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.java new revision: 1.15.2.1; previous revision: 1.15 done
Unfortunately I still have the problem in the Nevada Welcome Screen. It can only be fixed by setFocusable(true), not by setRequestFocusEnabled(true). The problem is that I need to get focus through the keyboard (CTRL-3), not the mouse. This is required for A11Y. We need some way to get this fix for Nevada, which is built with JDK 1.4.
Fixed. It should work this way. Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.javanew revision: 1.19; previous revision: 1.18 done release35 Checking in src/org/netbeans/modules/welcome/WelcomeComponent.java; /cvs/ui/welcome/src/org/netbeans/modules/welcome/WelcomeComponent.java,v <-- WelcomeComponent.javanew revision: 1.15.2.2; previous revision: 1.15.2.1 done