Update 12/21:
7u10 was recently released. Confirmed that:
This is because the component to which you added the other has now lost focus, you can fix this by either:
requestFocus() on the component instance to which you add KeyBindingsor
alternatively use JComponent.WHEN_IN_FOCUSED_WINDOW with KeyBindings:
component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_Q, 0),
"doSomething");
component.getActionMap().put("doSomething",
anAction);
Reference: