Hi guys :D..
just wondering.. when I'm using scanner this is the code I use to ignore the case
"to put in the do..while statement"
} while (choice.trim().equalsIgnoreCase("Y"));
I've been looking all over the net. what code should I use if I'm using JOption..
can anybody please help me on this??
inputString = JOptionPane.showInputDialog(null, "Do again? [Y/N]: ");
choice = inputString.charAt(0);
} while (choice != 'N');
what code should i put in the green part??