Joptionpane input dialog in java an argument