Java joptionpane showinputdialog int search