• Post Reply Bookmark Topic Watch Topic
  • New Topic

read a char from the keyboard without having to type carriage-return?  RSS feed

 
Andrew Lit
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
is it possible to do it in console ? i searched the forum on this topic and found one post dated (2001) where it was said that it is impossible.
do i have to use JNI to make that work ?
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See listing at the end of this post.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately, yes, it's not possible using Java alone.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!