Name: jk109818 Date: 10/07/2002
FULL PRODUCT VERSION :
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode)
FULL OPERATING SYSTEM VERSION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
This can be demonstrated in the SwingSet. In the JTable
section, select a row, then press the down arrow while
holding down the shift key. The focus stays at the anchor
point instead of moving down with the selection. The focus
should be moving down. Try the same thing in the Windows
Explorer (Details view). You'll see that the focused cell
moves when pressing shift+down or shift+up. The behavior
should be conform to Windows standard (at least in Windows
This is especially annoying when, after pressing
shift+down a few times, shift is released and you press
down once more. You would expect the new currently
selected row to be just below the previously selected row.
Instead, it's the one just below the previous anchor
point. This just doesn't seem right...
This bug can be reproduced always.
CUSTOMER WORKAROUND :
I tried a number of workarounds (such as subclassing
changeSelection(), adding custom key listeners, etc.) and
got no where. This is hard to work around since everyone
assumes that the focus is the same as the anchor, which it
shouldn't be. In the end, I just left the default behavior.
(Review ID: 165215)