Input with java applet

Started by Xom, April 14, 2007, 02:00:50

Previous topic - Next topic

Xom

Hi I am making a java applet game with lwjgl and don't know how to get keyboard input. I tried the methods in org.lwjgl.input.Keyboard; but I get "java.lang.IllegalStateException: Display must be created" when I try to create the keyboard. So how can I/whats the best way to get keyboard input for an applet?