-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.1.8_003, 1.2.0, 1.3.0
-
x86
-
generic, windows_nt
When you type the NumLock or CapsLock keys on Windows, you get both KEY_PRESSED and KEY_RELEASED events each time you press and release these keys. According to the description in the Java Class Libraries, Second edition, volume 2, page 943, they should only generate one event - KEY_PRESSED when the lock is enabled, KEY_RELEASED when it's disabled. Solaris implements this correctly.
You can use the enclosed KeyTest application to test this behavior. I'm using a Compaq keyboard where the keys don't physically lock, which may or may not be relevant.
You can use the enclosed KeyTest application to test this behavior. I'm using a Compaq keyboard where the keys don't physically lock, which may or may not be relevant.