Handling Key Event

How to handle key events in the Console?Plz give sample code for it.Thanks in advance.
[107 byte] By [Tom_Cruisea] at [2007-10-3 9:12:25]
# 1
no, but you could possibly use a native library to do this
vyaa at 2007-7-15 4:24:41 > top of Java-index,Java Essentials,New To Java...
# 2
Don't have any experience with it personally, but I think curses does this type of thing http://sourceforge.net/projects/javacurses/
kindofbluea at 2007-7-15 4:24:41 > top of Java-index,Java Essentials,New To Java...
# 3
if you could provide a little more info on the problem and maybe any code you have trouble with, helping you would be alot easier
Apskafta at 2007-7-15 4:24:41 > top of Java-index,Java Essentials,New To Java...