Here's a snippet of the code:
do {
carContinue = hw3OP.showInputDialog(null,
"Do you want to continue?" + "\n" + "Yes - to continue." + "\n" + "No - to quit.",
title, hw3OP.QUESTION_MESSAGE);
int lengthCar = carContinue.length();
if (lengthCar > 2) {
again = true;
} else {
again = false;
}
} while (again = false);
If I need to post all the code just let me know..
Thanks


Sign In
Create Account



Back to top









