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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -