When you use fx:root in FXML and later don't provide root in code, it creates default root element. This behavior isn't documented. introduction_to_fxml has a statement: "As mentioned earlier, the <fx:root> tag creates a reference to a previously defined root element." And nothing for case when root wast'n provided. I think this case must be documented.
- relates to
-
JDK-8125519 FXML: default root id is null
-
- Resolved
-