Name: sg39081 Date: 08/15/97
The KeyEvent class gives 3 indications of keyboard activity -
keyPressed(), keyTyped(), keyReleased()
For the keypad the value of the keycode field on keyPressed()
and keyReleased() is dependant on whether numlock is on or off.
e.g.
the keypad del key
Numlock on KEY_PRESSED gives a keycode of 110 which is
different from the . key on the main keyboard
Numlock off KEY_PRESSED gives a keycode of 127 which is
the same as the DEL key on the main keyboard
This means it is not possible to consistantly tell whether
the key press being processed comes from the keypad or the
main keyboard. As a result the additional VK_* codes provided
in JDK 1.1 are largely of no practical use what ever.
company - Pericom Software PLC , email - ###@###.###
======================================================================