fabiopedrosa fabiopedrosa - 1 year ago 134
Java Question

Java System-Wide Keyboard Shortcut

Is there any way to get a system-wide (global) keyboard shortcut to
perform an action in a Java application?

Any AWT/Swing bindings?

Answer Source

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?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download