JDK-6354845 : The JTable's header is focused on open of JTable
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_2000
  • CPU: generic
  • Submitted: 2005-11-23
  • Updated: 2010-09-29
  • Resolved: 2006-02-16
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 b72Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
Create a form with JTable component. On JTable.setVisible(true) the JTable has focused the header as default. I guess it's a regression between JDK1.5 (and JDK1.6 b54), in JDK1.5 has the focus on the first row of table.

It's cause of issue http://www.netbeans.org/issues/show_bug.cgi?id=69161

Comments
EVALUATION After talking to UE and accessibility, we've decided to pull the table header back out of the focus cycle. It'll still be focusable, but it won't try to grab focus by default (fixing this bug) and the user won't be able to just tab to give it the focus. Instead, the user can press F8 while the focus is in the table. F8 was chosen because JSplitPane uses it to change the focus between panes.
30-11-2005