The two attached FXML files carry the same semantic but the one that doesn't use the <children> tag is badly rendered within SceneBuilder: the two Label aren't visible in Hierarchy nor on Content.
Comments
Fixed with the following change set:
changeset: 8043:449c3133f4a4
tag: tip
user: Eric Le Ponner <eric.le.ponner@oracle.com>
date: Tue Sep 23 17:53:15 2014 +0200
summary: [SCENEBUILDER] Fix for DTL-6890 (Default property of an fx:root object is not correctly managed).
23-09-2014
Implementation for DTL-6181 is incomplete : it forgets the case where root object
of the FXML file is a fx:root.
When root object is plain object, SB correctly processes default properties.