Tuesday, September 15, 2009

[Java] get the arrow key press in Java console?

 

Hello,

I tried to search this but can't find a working solution yet.

Is there a way that we can detecte the arrow key press in a Java console application? I heard the new System.console in 1.6, but looks like it can't do that. (I am OK if the code is OS dependent -- I only run it in Win vista)

Thanks!

__._,_.___
Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Need traffic?

Drive customers

With search ads

on Yahoo!

Weight Management Group

on Yahoo! Groups

Join the challenge

and lose weight.

.

__,_._,___

No comments:

Post a Comment