Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can java read character without newline  RSS feed

 
Jack Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can java read in one character per character without waiting for me to enter the new line? I'm using System.in.read()
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the ranch!

Your first question is very nicely done: short, concise, clear. And, um, the answer is no. Sorry. The Java console is not a terribly sophisticated user interface.

What is it you're making? Do you have any experience with Swing or GUI interfaces?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!