Ok, I'm working with capturing/intercepting keystrokes in Java.
My class extends JPanel, has a key listener, and gets the keyPressed, keyTyped, and keyReleased events. I've managed to get most stuff working so that even international keys (ie: on Japanese keyboards) work right.
I've also, in the constructor, used the following:
Is that really a problem? After all, your application can never be sent that keystroke, can it?
Joined: Jan 05, 2005
as a matter of fact, it can. And does.
Our goal, ideally, is that we capture everything and send it along to the remote system. So far, the only problem is the Windows Logo key, which we do capture an send to the remote system, but can't prevent the client system from responding to, if it's a Windows OS.
Joined: Nov 30, 2005
The best 100% Java solution I can think of is to display a popup message, asking the user not to press the Windows key again...