java - Running a method while Waiting for input -
i have application in joptionpane called. how can continuously run method until yes on joption pane has been selected?
move = joptionpane.showinputdialog(null, game + "\n" + "your move " + game.inputprompt() + " ?");
thank you!
put processing in separate thread. see concurrency in swing
Comments
Post a Comment