Using jna to keyhook and consume
I'm making an auto clicker that uses jna to hook global input from the keyboard and mouse. For the keyboard hook im using http://code.google.com/p/goldriver/source/browse/trunk/king/src/jnacontrib/w32keyhook/KeyHook.java?r=36 . I was wondering if there was any possible way to consume the key event so other applications don't process it? Fixed with return new LRESULT (1); Now I'm having a problem with it not continuing with the rest of the code, here is the source. My program keeps listening for keyboard input and doesn't continue to even show the GUI. public class GUI extends javax.swing