boolean (KeyStroke ks, KeyEvent e, int condition, boolean pressed) { if (condition == WHEN_FOCUSED && myCurrentEvent != e) try { myCurrentEvent = e; myComponent.getChildComponent().dispatchEvent(e); } finally { myCurrentEvent = null; } if (e.isConsumed()) return true; return super.processKeyBinding(ks, e, condition, pressed); }