Swing doesn't really "do" it at all. The underlying OS sends different characters as input depending on whether caps lock is activated. Swing doesn't care whether caps lock is on, just what the...
Type: Posts; User: KevinWorkman
Swing doesn't really "do" it at all. The underlying OS sends different characters as input depending on whether caps lock is activated. Swing doesn't care whether caps lock is on, just what the...
The problem is a bug in the windows JNI layer. It doesn't really surprise me that this doesn't work, as it relies on the underlying OS. What is your end goal?
Sounds like you might have to use a library that uses JNI to do the native checking. A quick google search of "java check caps lock" turned up this:...