-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
x86
-
windows_xp
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The reordering of columns in JTable is broken. You can't reorder JTable headers by dragging if you are not on the first page in the scrollpane
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
It is easy reproducable:
- Start Swingset2.jar from the demo directory
- select the JTable Demo
- Select autoresize mode "off". This is only to force the table to get a scrollbar
- resize the window so that "favorite Col" is only partly visible
- scroll so you see "favorite Col", "favorite Movie", ""favorite Fastfood"
- drag "favorite Movie" to the right as you want to put it at the last element.
- pretty soon the table view switches to the first page, so you could *never* reorder table headers which are not on the first page.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
reordering of headers on every part of the table, when contained in a scrollpane
ACTUAL -
the view switches so you could not reorder headers that are not on the first page of the table
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
SwingSet2
---------- END SOURCE ----------
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The reordering of columns in JTable is broken. You can't reorder JTable headers by dragging if you are not on the first page in the scrollpane
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
It is easy reproducable:
- Start Swingset2.jar from the demo directory
- select the JTable Demo
- Select autoresize mode "off". This is only to force the table to get a scrollbar
- resize the window so that "favorite Col" is only partly visible
- scroll so you see "favorite Col", "favorite Movie", ""favorite Fastfood"
- drag "favorite Movie" to the right as you want to put it at the last element.
- pretty soon the table view switches to the first page, so you could *never* reorder table headers which are not on the first page.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
reordering of headers on every part of the table, when contained in a scrollpane
ACTUAL -
the view switches so you could not reorder headers that are not on the first page of the table
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
SwingSet2
---------- END SOURCE ----------