Solved

Defining function keys in console environment

Posted on 2004-09-15
4
187 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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
How to get all the API from website? 11 122
fibonacci ten numbers 4 54
configure dependency in POM for new database 3 43
Why my table column Id is not passed to java object? 4 45
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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:

679 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