Java Reference
In-Depth Information
Figure 3-22. The Library Panel with its menu open
To illustrate the importing of a custom component into JavaFX SceneBuilder, we package the class files and
the FXML file from the CustomComponent example from the last section into a CustomComponent.jar file. We then
invoke the Import JAR/FXML File menu item, navigate to the directory, and select the CustomComponent.jar file to
import. As soon as we click the Open button in the file selection dialog box, JavaFX SceneBuilder opens the Import
dialog box, shown in Figure 3-23 .
Search WWH ::




Custom Search