title: JavaFX window setTitle
body: <p>I have a main class which is the following:</p>
  
  <pre><code>public class Window extends Application {
  
  
      @Override
      public void start(Stage foablak) throws Exception {
          Parent root = FXMLLoader.load(getClass().getResource("Foablak.fxml"));
          Scene scene = new Scene(root);
  
          foablak.setScene(scene);
          foablak.setWidth(900);
          foablak.setHeight(700);
          foablak.setResizable(false);
          foablak.setTitle("Window");
  
          foablak.show();
      }
  
      public static void main(String[] args) {
          launch(args);
      }
  
  }
  </code></pre>
  
  <p>How can I update the Title of the from another .java class without closing the window and open a new one?</p>