I am trying to make a application and for one part of the application I need to get a input from the user stating how many times there click their mouse in 1 second. I want the
int mouseClick;
do {
String str = JOptionPane.showInputDialog("Write down how many times you can click your mouse button in 1 second");
mouseclick = Integer.parseInt(str);
}
while (mouseclick < 1 || mouseclick > 10);