Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Keyboard event ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 710 of 816
Post > Topic >>

Keyboard event with AWT?

by "Arun Hariharan" <arunhariharan@[EMAIL PROTECTED] > Aug 18, 2006 at 05:49 AM

I am trying to write an application that will run on console and will
not have any GUI whatsoever. Once the program in run i want it to keep
listening for keyboard event and just print them on console as they
happen.

expected output-
up arrow key
return key
tab key
A
3
F1
left key .....


Can I use java.awt to do this? Can awt work without applet or any GUI
component?
Is there some other package that i should be using instead?
Is there is resource online/book you can refer me to where I can learn
how to do this?
I need a direction to go in and dont expect any code help. Please help.



Arun
 




 1 Posts in Topic:
Keyboard event with AWT?
"Arun Hariharan"  2006-08-18 05:49:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:12:13 CDT 2008.