by Mark Space <markspace@[EMAIL PROTECTED]
>
May 4, 2008 at 01:27 AM
Jeff Higgins wrote:
> Fish wrote:
>> Could a kind Java code expert take a look at a method for me?
>>
>> It seems that once called, the method starts out good by
>> creating/opening up a file (appending existing files). It hiccups
>> when it gets to the do loop. It asks the first question, then without
>> waiting for data to be entered, it asks the second question. This
>> only happens on the first iteration of the loop.
>>
>>
> Windows
> http://java.sun.com/javase/6/docs/technotes/tools/windows/jdb.html
>
> Solaris & Linux
> http://java.sun.com/javase/6/docs/technotes/tools/solaris/jdb.html
>
>
Possibly easier to use:
<http://www.netbeans.org/kb/60/java/javase-intro.html>
or any of several fine IDE products...
However Scanner is possibly not what you want. Check out BufferedReader
and the readLine() method.