-
Bug
-
Resolution: Fixed
-
P3
-
1.2.0
-
1.2.2
-
generic
-
generic
allan.jacobs@Eng 1998-10-02
There are two sets of arrow keys on most keyboards. The swing classes
respond to arrow keys in the non-numeric keypad but do not respond to
the other set of arrow keys.
#!/bin/ksh
JDK=/net/mulder.eng/export/mulder3/jdk12x/intel/jdk1.2FCS_K
JCK=/net/jde1.eng/export/jtech23/JCK-12a
PATH=${JDK}/bin:/usr/dt/bin:/usr/bin:/bin:/usr/openwin/bin
LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
export PATH
export LD_LIBRARY_PATH
export CLASSPATH
echo $testURL
java -fullversion
testURL=file:${JCK}/tests/api/javax_swing/interactive/JListTests.html#JList
java -verify javasoft.sqe.tests.api.javax.swing.interactive.JList.JListTests -TestCaseID JListTest0002 -TestDirURL $testURL
Once running, select a JList entry and attempt to use the non-numeric arrow keys. The up and down arrows will move the selection up or down; the left and right keys will do nothing. That's as it should be.
Now try the numeric arrow keys (make sure that Num Lock is not lit). nothing will happen. This is a bug.
allan.jacobs@Eng 1998-10-02
Note that some keyboards only have the numeric arrow keys; on such keyboards, there are no arrow keys that work to move the selection.
Modified by
hania.gajewska@Eng 1998-10-07
June Zhong just encountered what Hania described when attempting to run the test
api/javax_swing/interactive/JScrollBarTests.html on the FCS candidate.
allan.jacobs@Eng 1998-11-12
- relates to
-
JDK-4207036 JScrollBars do not respond to arrow keys or the numeric keypad.
-
- Resolved
-
-
JDK-4178701 JTables do not respond to arrow keys on Sparc systems.
-
- Closed
-