-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b76
-
generic
-
generic
-
Verified
.
.
JTable Header focus moves out with shifting of columns
1)Open SwingSet2, tab to the Tabledemo, select any table data aand then press F8 to get focus on to the JTable header of the first column.
2)Shift the 1st column using the mouse, and then again, using the keyboard shortcut (Alt+right arrow key).
Actual behavior:-
When I use the keyboard:
1st Column(with Header text as "First Name") shifts to 2nd column, focus is now on the second column(with Header text as "First Name").
when I use the mouse:
1st Column(with Header text as "First Name") shifts to 2nd column, but focus remains on the now new first column(with Header text as "Last Name").
Expected behavior
1)Behavior should be same and consistent while using either the keyboard shortcut or mouse.
2)The correct behavior can be interpreted to be what is seen when using the mouse or when usting the keyboard. That is of course debatable. To my knowledge, focus of the colunn header should move along with the column which is shifted as is the case when we use the mouse.
.
JTable Header focus moves out with shifting of columns
1)Open SwingSet2, tab to the Tabledemo, select any table data aand then press F8 to get focus on to the JTable header of the first column.
2)Shift the 1st column using the mouse, and then again, using the keyboard shortcut (Alt+right arrow key).
Actual behavior:-
When I use the keyboard:
1st Column(with Header text as "First Name") shifts to 2nd column, focus is now on the second column(with Header text as "First Name").
when I use the mouse:
1st Column(with Header text as "First Name") shifts to 2nd column, but focus remains on the now new first column(with Header text as "Last Name").
Expected behavior
1)Behavior should be same and consistent while using either the keyboard shortcut or mouse.
2)The correct behavior can be interpreted to be what is seen when using the mouse or when usting the keyboard. That is of course debatable. To my knowledge, focus of the colunn header should move along with the column which is shifted as is the case when we use the mouse.
- relates to
-
JDK-6409182 REGRESSION: Unnecessary drawn column when shifting columns
- Resolved
-
JDK-6503981 Bug in BasicTableHeaderUI
- Closed