Testing

To test that the library works on your system, run the jar file

java -cp jkeymaster-1.1.jar com.tulskiy.keymaster.AWTTest

It will open a simple window. At the top is a field that listens to key presses.
Choose your hotkey and press Grab button. Check log output to see if it failed.
If the log is clean, you should be able to press the hotkey anywhere and it should
popup a message.

API Example

Main class is Provider. To get provider for current platform:

Provider provider = Provider.getCurrentProvider(useSwingEventQueue);

where useSwingEventQueue is a boolean parameter specifying whether to fire events
on swing event queue or just simple thread. Usefull when your hotkey listener will
directly access or modify some swing components.

Clojure

Feedback

I would really appreciate it if you could test the library and post some bug reports.
I've tested on Win 7, Win XP, Ubuntu 10.10 and 11.04. I've tested Mac OSX code
only in 32-bit virtual machine, and a bit on a real 64-bit machine. So feedback is greatly
appreciated, especially from people who have real Mac with real Apple keyboard,
BSD users, people with some advanced keyboards, and just anybody who wants to help.