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!

Reading a "yes" or "no" from the keyboard

807598Oct 27 2006 — edited Oct 27 2006
Hello,

I'm having difficulty reading a String or char from the keyboard using the Scanner class. It looks like there is a ShowConfirmationDialog in JOptionPane class, but I'd rather not use JOptionPane.

Any suggestions??

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 24 2006
Added on Oct 27 2006
8 comments
251 views