...

View Full Version : Keyboard Inputs



JavaTest?
03-05-2003, 07:29 PM
Can anyone tell me how to get a java applet to accept keyboard inputs? For example, if you push left, then it responds left (I'm trying to make a tank wars type game in java). is it similar to the MouseListener method?

Josh Campbell
03-05-2003, 10:20 PM
http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum