Is there any way or a library to get a system-wide (global) keyboard shortcut to perform an action in a Java application?
There is not, but in windows you can use this:
Unfortunately there is nothing I'm aware of for Linux and OSX, probably that's why it doesn't come with java out of the box.
If you find for the other platforms post it here please :)
Just for couriosity, what are you doing with that?