1. In
java is there any way to capture what key a user pressed, even when the application is minimized? (I couldn't get KeyListener to do this)
2. How can I make java block a certain key from being pressed? For example, I want to replace a key with another. If I could block 'e' from doing anything, then I could use the robot class to make it do what I want.
The reason I want to do this is a little complicated. If you care for an expanation, please ask, but otherwise, it's irrelivent (no, I am not trying to screw up someone's computer).
P.S. I am nice! This
thread is nice! I am being nice!