Your code should be:
Code:JOptionPane.showMessageDialog(null, "Your ending mileage," + Integer.toString(endMiles) + ", must be greater than your starting mileage," + Integer.toString(startMiles), "Error", JOptionPane.ERROR_MESSAGE);
|
Results 1 to 3 of 3
Thread: What is this error I am missing?Threaded View
|
Click Here to Expand Forum to Full Width |