I try to interface the KeyListener through a class like so:
public class KeyDisplay implements GLEventListener, MouseListener, KeyListener
{
.......
.......
.......
}
I get the following compile error at the class declaration:
- KeyDisplay is not abstract and does not override abstract method keyReleased(java.awt.event.KeyEvent) in java.awt.event.KeyListener
Does anyone know what the problem is, I want to have a MouseListener as well as a KeyListener.