QUOTE(sswearengin @ 14 Sep, 2007 - 12:18 PM)

That worked like you said, so is that clearing out the buffer or just exactly what is that catch exception e command doing. I had seen someone else that had used the buffer commands but did not know exactly what they were doing. I am really trying to grasp java but it takes a lot of patience and I just keep getting frustrated at myself. I truly appreciate the help.
THanks
Reading the classes is very important, I suggest when you see some class unfamiliar, just google it, find it's functions, and google some examples.
For
BufferedReader check, here as wel as any other function.
So about the exception, it is needed by the compiler itself, I just catch it, and do nothing about it. The exception that needs to be caught is actually IOException, but I just simply catch it's base class which is Exception, for exceptions and their use try to look some tutorials too, they are important.
You'll need a lot of patience about Java, I know when I first started, anger, rage were my feelings when I heard about JAVA, but in time I liked it very much, this place helped me a lot, so stick around there is much to be learned here. And remember three important things:
readreadread