So this is how I have my code (of course, not finished because I don't want to do any other work until I can figure out why I'm getting the error). It compiles no problem but when I try to run it I get a java.lang.NumberFormatException
for my first line, not really sure why?
if (Integer.parseInt(subtotalTextField.getText()) <= 200)
{
discountTextField.setText("2");
}
else
{
}