I\'m looking to record keystrokes and mouse positions while I\'m in a browser window on various websites, but I\'m not sure how to do this outside the SWING (or some other GUI)
I don't think you can do this from pure Java. If it is possible at all, it would require the assistance of a (highly) platform specific native code library.