JDK-6320060 : 1.6.0 REGRESSION: Disabling key focus traversal does not work
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-09-06
  • Updated: 2011-01-19
  • Resolved: 2005-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b53Fixed
Related Reports
Relates :  
Description
This is reproducible on mustang b50, on all platforms.

Even after calling setFocusTraversalKeysEnabled(false) on a component, focus is getting transferred to the next component when pressing the tab key.

To reproduce:
1. Run the attached testcase
2. Press the button labeled 'Click me' - this calls setFocusTraversalKeysEnabled(false) on the text field.
3. Try traversing the focus using tab key. 

If focus is getting transferred from text field to button on pressing tab, bug is reproduced.

Comments
EVALUATION This bug is a regression of 4226243 The fix 4226243 was rollbacked
13-09-2005