Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Equivalent of kbhit() in Java

843789Apr 16 2009 — edited Apr 17 2009
Hello people, I'm a Java newbie and I'd like to know the Java equivalent for the following C language statement:

while(!kbhit())
/*Some code in here*/ ;

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2009
Added on Apr 16 2009
7 comments
2,900 views