Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Please help; inkey$ in java?

807598Sep 29 2006 — edited Sep 5 2007
Hello,
I am relatively new to Java, though I am proficient in QBasic and understand object oriented programming. I was curious as to how I would go about creating something similar to an "inkey$" in Java. I checked the Java API, and it said something about a "KeyListener" class, though I didn't understand how to implement it very well. If someone could provide some sample code on using this KeyListener class, I would be very grateful.

Good day, and thanks in advance :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2007
Added on Sep 29 2006
19 comments
639 views