Keyboard Input in JAVA Applets

Started by
0 comments, last by Ilthigore 21 years, 8 months ago
I have written most of a pong applet (the basic display) but I can''t work out how to use input from the keyboard in a similar way to "inkey$()" from BASIC and "getch()" from C to control the paddles. Is it possible to do so in an applet and if so how?
>>>>>>>>>>>>>>>>>Ilthigore<<<<<<<<<<<<<<<<<
Advertisement
How to write a Key Listener



University is a fountain of knowledge, and students go there to drink.

This topic is closed to new replies.

Advertisement