Component opposite = e.getOppositeComponent();
if (opposite == null || !hasOverlayFor(opposite))
updateOnMainThread(instance()._focus, null);
}
});
_textComp.addKeyListener(new KeyListener() {
void post (Key key, boolean pressed, char typed) {
// no need to hop threads here, the JavaKeyboard does that
((JavaKeyboard)PlayN.keyboard()).post(key, pressed, typed);
}
@Override public void keyTyped (KeyEvent e) {