Scene Builder is a drag and drop UI designer tool allowing rapid desktop and mobile app development. Scene Builder separates design from logic, allowing team members to quickly and easily focus on their specific aspect of application development.
mvn, one can run ./mvnw on Linux or macOS or mvnw on Windows instead.
mvn clean package
./mvnw clean package
app/target/lib/scenebuilder-$version.jar, that doesn't include the JavaFX dependencies.
mvn install
mvn javafx:run -f app
java
--module-path /path/to/javafx-sdk-$javafxVersion/lib \
--add-modules javafx.web,javafx.fxml,javafx.swing,javafx.media \
--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED \
-cp app/target/lib/scenebuilder-$version.jar \
com.oracle.javafx.scenebuilder.app.SceneBuilderApp
`
Scene Builder Kit ##
To build and install the Scene Builder Kit in your local repository, run:
mvn clean install -f kit
The custom controls of the Scene Builder kit can be used in your project.
You can add it as a regular dependency to the build of your app:
`
com.gluonhq.scenebuilder
kit
$version
`
Code Style
To ensure that new code formatting matches the requirements for Pull Requests,
the Maven Checkstyle plugin can be used to create a report listing possibly coding
style violations.
Contributors can check for code-style violations in their code by running the Checkstyle Maven goal. The checkstyle configuration is currently in a very early stage and only checks for empty blocks, extra white space, padding and empty lines.
To run the plugin:
`
mvn checkstyle:checkstyle
`
There will be a report for each sub-project, one for app and one for kit.
* Kit: kit/target/site/checkstyle.html
* App: kit/target/site/checkstyle.html`