I am trying to learn JavaFX, and struggling a bit with boilerplate code that works but I’m not clear why. I have a line like this which is boilerplate provided by IntelliJ: Parent root = FXMLLoader.load(getClass().getResource(“View.fxml”)); And I am looking at an example elsewhere which has a line that appears to perform a similar function:Read more