When I ask a user to enter a quantity for a program I have made using the code below, the default text is 3.
String input = JOptionPane.showInputDialog(null, "Please enter new quantity",
JOptionPane.QUESTION_MESSAGE);
How do I change this?