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

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -