title: JavaFX Stage shows empty scene
body: <p>I've been trying to open a new Window in order to display a progress bar, from a controller :</p>
  
  <pre><code>    Stage fenetre = new Stage();
      fenetre.initModality(Modality.APPLICATION_MODAL);
  
      FXMLLoader loader;
      Parent root;
      Scene chargementBox;
  
      loader = new FXMLLoader();
      loader.setLocation(getClass().getResource("/views/Chargement.fxml"));
      loader.load();
      root = loader.getRoot();
      chargementBox = new Scene(root);
  
      fenetre.setTitle("Chargement");
      fenetre.resizableProperty().set(false);    
      fenetre.setScene(chargementBox);
      fenetre.show();
  </code></pre>
  
  <p>It shows the window. But it's empty :</p>
  
  <p><a href="http://i.stack.imgur.com/q9kSR.png" rel="nofollow">This is what it should show</a></p>
  
  <p><a href="http://i.stack.imgur.com/Dyj46.png" rel="nofollow">This is what i got instead</a></p>
  
  <p>I tried everything, I used other FXML files, the window sizes are correct but it's always empty. The same code works on other Controllers, but not here.</p>
  
  <p>Help please. There is no exceptions and no errors. Thank's</p>
  
  <hr>
  
  <p>Edit : I've found the reason why it doesn't show, it's because later in the code i have this function : <code>Transport.send(message);</code> that blocks the program from refreshing my scene and displaying the elements. Is there a way i can run that line in the background or in another thread (I never used threads before.) Thank's again for the help.</p>