Pure Java can only capture keystroke events which are sent to a Java window/component (more specifically, windows that that JVM owns, not any JVM running). Keystrokes which are dispatched to other...