* @param listener the key press listener
* @param listenerConfig the listener config
*/
public void addKeyPressListener(final EventCallback listener, final ListenerConfig listenerConfig) {
if(!isRendered()) {
addListener("render", new Function() {
public void execute() {
addKeyPressListener(listener, listenerConfig);
}
});
} else {