JavaFX Scene Builder is a visual layout tool that lets users quickly design JavaFX application user interfaces, without coding. Users can drag and drop UI components to a work area, modify their properties, apply style sheets, and the FXML code for the layout that they are creating is automatically generated in the background. The result is an FXML file that can then be combined with a Java project by binding the UI to the application’s logic.
Scene Builder allows you to easily layout JavaFX UI controls, charts, shapes, and containers, so that you can quickly prototype user interfaces. Animations and effects can be applied seamlessly for more sophisticated UIs.
Scene Builder generates FXML, an XML-based markup language that enables users to define an application’s user interface, separately from the application logic. You can also open and edit existing FXML files authored by other users.
Scene Builder can be used in combination with any Java IDE, but is more tightly integrated with NetBeans IDE. You can bind the UI to the source code that will handle the events and actions taken on each element through a simple process, run your application in NetBeans, and any changes to FXML in NetBeans will also reflect in your Scene Builder project.
At any time during the creation of your project, you can preview what the user interface will really look like when deployed, unencumbered by the tool’s menus and palettes.
Scene Builder is written as a JavaFX application, supported on Windows, Mac OS X and Linux. It is the perfect example of a full-fledge JavaFX desktop application. Scene Builder is packaged as a self contained application, which means it comes bundled with its own private copy of the JRE.
You can apply the look and feel of your choice to your GUI layout by using style sheets. It’s as easy as selecting a GUI component, and pointing to the CSS file of your choice from the Properties Panel. The CSS analyzer allows you to understand how specific CSS rules can affect aspects of a JavaFX component.