ok, i need to add a Press any Key to Continue to my program....i know i can do a *****.readLine(); to get input and then use a Unicode value and get the semi-desired results, but i want the user to be able to hit any key at all just like it says... easy way out there>? thanks in advance adam jones
thanks for the reply, but what i was looking for was a press any key...i used the unicode value for enter "2324 and then just did a readLine() and it gave me the same results, but that is not what the prof wants i mean it worked just fine by me, but you know how professors are is there just a way to pause and wait for any response at all from the keyboard? i am very sure there has to be, but how would that be done? thanks again for your input adam
Does anyone know how to do this in java? In C/C++ it is possible to do it with getchar(). InputStream's read()method blocks until the user types the <return> key at the end of a line, at which point the whole line is available for read().
Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
You showed up just in time for the waffles! And this tiny ad:
a bit of art, as a gift, that will fit in a stocking