title: javafx: How to get back to original application window without closing the new window?
body: <p>Apologies for asking such a simple question but english is not my first language, so I cannot find the right word to describe my problem and cannot google up the the right question. </p>
  
  <p>I have a javafx application and there is a button whereby if the user clicks it, it generates a new window (like a display box  just to display more info to a user). The problem is when the new window is displayed and I click anywhere of the Javafx application, I cannot get back to it. I have to close the new window first in order to interact with the original javafx application. </p>
  
  <p>How can I have the ability to open the new window on a button click, while retaining the ability to interact the original javafx application without having to close the new window ?</p>
  
  <pre><code>        Button moreInfo = new Button("More Info");
          moreInfo.setOnAction(e -&gt; {
              MoreInfoDisplayBox.display();
          });
  
  public class MoreInfoDisplayBox {
  
      public static void display(){
          Stage window = new Stage();
          window.initModality(Modality.APPLICATION_MODAL);
          window.setTitle("More Info");
          window.setMinWidth(400);
          window.setMinHeight(400);
          window.show();
      }
  }
  </code></pre>