I am trying to use the JNativeHook library to provide global keyboard and mouse listeners for my Java application. I downloaded the source files from here but I am not sure how to install it to eclipse and make a use of it. I have also looked at the Compiling Instructions. I followed all the steps, but it seems to be confusing for me.
Can anyone guide me on how to use the JNativeHook Library? I am using Eclipse as IDE and windows 7 as an operating system.
Follow below steps to install JNativeHook in Eclipse:
JNativeHook/jar
folder.Right click on project > properties > Java Build Path > Libraries > Add JARs
If you want to install with maven locally you can also proceed with these instruction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With