title: JavaFX class controller scene reference
body: <p>Is there any way of getting the Scene object of an FXML loaded file from the associated class controller.</p>
  
  <p>I'm doing something like this:</p>
  
  <pre><code>@FXML
  private AnchorPane anchor; 
  
  Scene scene = anchor.getScene();
  </code></pre>
  
  <p>but i'd like a solution that does not reference the AnchorPane control.</p>