//... public static Stage _stage; @Override public void start(Stage stage) throws IOException { _stage = stage; scene = new Scene(loadFXML("primary"), 640, 480); stage.setScene(scene); stage.show(); } //...