Solved

Defining function keys in console environment

Posted on 2004-09-15
4
181 Views
Last Modified: 2010-03-31
My java app takes input from users with a readLine() statement.  Can I define function keys to spell out specific strings to that input pipe?  Or how can I trap/disable or otherwise configure those keys while in a console environment?
0
Comment
Question by:chelince
  • 2
  • 2
4 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 25 total points
ID: 12063103
Don't think you can AFAIK
0
 
LVL 37

Accepted Solution

by:
zzynx earned 25 total points
ID: 12063123
Agree.
Also, in a console environment everything is buffered until you press <Enter>
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12103059
8-)
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12109566
Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
simple java question 3 59
web services creation SOAP vs REST 5 56
eclipse apache tomcat admin console 52 120
runtime exception 2 41
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question