File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes simple console application input Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "simple console application input" Watch "simple console application input" New topic

simple console application input

Christopher, Abarro

Joined: Jul 24, 2001
Posts: 1
Im writing a comsole application that takes input. However the and its kind requires an ENTER to send the characters to my program. I want a way to get the input characters in an interactive way that doesn't need an enter to get the input of the user. Somehow similar to getche() in C programs. any help will be appreciated. thanks.

It is sorta covered in the JavaRanch Style Guide.
subject: simple console application input
It's not a secret anymore!