Sorry for being lazy, if this question was asked before, please redirect me, thanks.
I want to know in AWTGLCanvas rendering mode, how key mapping is bound to the AWT components. The real problem I got is that once my input focus goes to other components (such as buttons or textfields), the keymapper can no longer poll the keys pressed from the GLCanvas. Even from the AWT side i can gain by the focus (by using Component.requestFocusInWindow()), the registered KeyMapper (through constructor) still doesn't work anymore. I even tried making a new instance of KeyMapper every time the GLCanvas gains the input but that does not work either.
I think this is because I do not know exactly how KeyMappers work or behave. Some helps needed thanks.