Program crashes when the user hits the enter key at the beginning of the line. Can you please fix it for me?? :( Everything else is fine I just needa fix that
Printable View
Program crashes when the user hits the enter key at the beginning of the line. Can you please fix it for me?? :( Everything else is fine I just needa fix that
and is the
fine?Code:addValue() method
No we can't fix it for you. What the forum can try to do is help you fix it.
Now... something is not adding up. Although the code is not that advanced, it's far enough along that if you coded it, you would not be asking the questions you're asking. So... where did the code come from?
While you're chewing on that question, if you really want to find your problem, I suggest you place println's in the part(s) of the code that you think are giving you problems and that way you can track down the culprit.
Luck,
CJSL