Java? Checking for negative numbers? ?
Hello there, here is some of my code; http://i73.photobucket.com/albums/i206/ronaldostepovers/negs.jpg
I would like to know how can I get the pop up message saying "you have entered a negative number to pop up as soon as the negative number has been entered?
So far I have 3 strings and the pop up message pops up after the user has entered numbers in all of the string, e.g.
String 1: user enters 99
String 2: user enters -10
String 3: user enters 8
Pop up message "You have entered a negative number"
|