title: GUI not showing up with JavaFX 15 using Eclipse on Mac
body: <p>I've been following instructions to build a Hello World JavaFX application using Java JDK 15 and JavaFX 15. I've added a run configuration described here: <a href="https://openjfx.io/openjfx-docs/#IDE-Eclipse" rel="nofollow noreferrer">https://openjfx.io/openjfx-docs/#IDE-Eclipse</a>. When I run the program on my Mac I receive no errors in my console but the GUI does not appear. Building the same application on my Windows computer I am able to build and see the GUI.</p>
  <p>Main.java</p>
  <pre><code>package hellofx;
  
  import javafx.application.Application;
  import javafx.fxml.FXMLLoader;
  import javafx.scene.Parent;
  import javafx.scene.Scene;
  import javafx.stage.Stage;
  
  public class Main extends Application {
  
      @Override
      public void start(Stage primaryStage) throws Exception{
          Parent root = FXMLLoader.load(getClass().getResource(&quot;hellofx.fxml&quot;));
          primaryStage.setTitle(&quot;Hello World&quot;);
          primaryStage.setScene(new Scene(root, 400, 300));
          primaryStage.show();
      }
  
  
      public static void main(String[] args) {
          launch(args);
      }
  }
  </code></pre>
  <p>Controller.java</p>
  <pre><code>package hellofx;
  
  import javafx.fxml.FXML;
  import javafx.scene.control.Label;
  
  public class Controller {
  
      @FXML
      private Label label;
  
      public void initialize() {
          String javaVersion = System.getProperty(&quot;java.version&quot;);
          String javafxVersion = System.getProperty(&quot;javafx.version&quot;);
          label.setText(&quot;Hello, JavaFX &quot; + javafxVersion + &quot;\nRunning on Java &quot; + javaVersion + &quot;.&quot;);
      }
  }
  </code></pre>
  <p>hellofx.fxml</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  
  &lt;?import javafx.scene.control.Label?&gt;
  &lt;?import javafx.scene.layout.StackPane?&gt;
  
  
  &lt;StackPane maxHeight=&quot;-Infinity&quot; maxWidth=&quot;-Infinity&quot; minHeight=&quot;-Infinity&quot; minWidth=&quot;-Infinity&quot; prefHeight=&quot;400.0&quot; prefWidth=&quot;600.0&quot; xmlns=&quot;http://javafx.com/javafx/8&quot; xmlns:fx=&quot;http://javafx.com/fxml/1&quot; fx:controller=&quot;hellofx.Controller&quot;&gt;
      &lt;children&gt;
          &lt;Label fx:id=&quot;label&quot; text=&quot;Label&quot; /&gt;
      &lt;/children&gt;
  &lt;/StackPane&gt;
  </code></pre>