How do I make my applet turn the user's input into an integer and compare it to the computer's random number?
- by Kitteran
I'm in beginning programming and I don't fully understand applets yet. However, (with some help from internet tutorials) I was able to create an applet that plays a game of guess with the user. The applet compiles fine, but when it runs, this error message appears:
"Exception in thread "main" java.lang.NumberFormatException: For input string: ""
…