dialog boxes the showinputdialog method of the joptionpane class