public interface KeyListener extends EventListener
This listener should not be confused with java.awt.event.KeyListener. You should explicitly use com.webrenderer.event.KeyListener
e.g:
browser.addKeyListener(new com.webrenderer.event.KeyListener(){...});
The class that is interested in processing a keyboard event either implements
this interface (and all the methods it contains) or extends the abstract
KeyAdapter class (overriding only the methods of interest).
The listener object created from that class is then registered with an
IBrowserCanvas using the addKeyListener method.