title: java fx set scene from a different thread not working
body: <p>I am building a game and in my main application thread I have all my GUI related code running then for the managing of the actual game i have in a different thread as to avoid locking the GUI thread. I run the code for the game as a callable so i can return the winner to the GUI. Within the game thread I need to use the set scene method to change the scene but nothing happens and I am unsure why. When the game is started the GUI will prompt a player to start a new game then a gameManager thread will be made and it will be ran in a different thread. Here is an example of the source code:</p>
  
  <pre><code>gui.getStage(scene)
  </code></pre>
  
  <p>I would really appreciate some advice for this. I have checked all the threads start properly and i can print the getStage and i can print the scene so the objects are there.</p>