Hello Guest

Input with java applet

  • 1 Replies
  • 4191 Views
*

Offline Xom

  • *
  • 6
Input with java applet
« on: April 14, 2007, 02:00:50 »
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?

*

Offline Matzon

  • *****
  • 2242
Re: Input with java applet
« Reply #1 on: April 15, 2007, 09:02:44 »