title: JavaFX Not Able to Start From Non-FX Project In NetBeans Using Start
body: <p>The problem I'm having is that when I create a new JavaFX project in NetBeans the main method is ignored, and somehow start() is somehow called and everything is just fine, but any time I try to call start I wind up with an exception. The class I used: </p>
  
  <pre><code>public final class JFXDriver extends Application {
  
  public JFXDriver() {
      Application.launch();
  }
  
  @Override
  public void start(Stage stage) throws Exception {
      Parent root = FXMLLoader.load(getClass().getResource("GUI.fxml"));
      Scene scene = new Scene(root);
      stage.setScene(scene);
      stage.show();
  }
  }
  </code></pre>
  
  <p>I've attempted to start it using the constructor, but it fails (Throws an Exception) for some reason saying that it is being called more than once, which should be impossible because I've constructed this class from a main method with only the <code>new JFXDriver();</code> in it.</p>