current javadoc is very short and doesn't help, although this functionality requires non-trivial conditions to work.
E.g., only way to use FXMLLoader.setRoot() is to have fxml with "fx:root" tag.
E.g., only way to use FXMLLoader.setRoot() is to have fxml with "fx:root" tag.