Version: 1.0 (Stable)
Last Changed: September 24, 2007
License: Apache v2.0

Editor for creating or editing Java keybinding mappings. This supports several formats for persistence and provides an easily customized chooser for use within applications. Keeping to the Unix philosophy I'm hoping for this to do one thing, and do it well. Please email me any bug reports, feature requests, or even notes saying if it's helpful or not.

Java provides two methods of capturing keyboard events:
1. Key Listeners (java.awt.event.KeyAdaptor)
Listeners can be attached to components to receive keyboard events. Unfortunately this can be rather tricky since it requires all focusable components have a copy of the listener. This is the only way of capturing arbitrary keystrokes.

2. Input Maps (javax.swing.InputMap)
This is the preferred method, avoiding much of the focus complications. The JComponent's InputMap provides mappings between keystrokes and objects (usually strings), then an ActionMap maps between those objects and code to be executed.

For more information see Sun's lengthy explanation at:
http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html
