JavaFX SceneBuilder 2.0 doesn't open FXML for custom components with fx:root as main layout tag
问题 I have custom component with layout on FXML file which containts line <fx:root type="javafx.scene.layout.VBox" spacing="10.0" xmlns:fx="http://javafx.com/fxml"> I create this file on SceneBuilder 1.0, but then i try open this file on SceneBuilder 2.0 i got Exception java.io.IOException: javafx.fxml.LoadException: Root hasn't been set. Use method setRoot() before load. /Users/dmitrynelepov/Development/SogazGit/smpb/SMProjectBrownRelease/SMPBProxy/engine/fxml/component_daemon_viewer.fxml:14