askIT

Java JavaFx: Creating a stage (window) with scene builder on IntelliJ

document-save.png Download Scene Builder

Step 1. Download Scene Builder

Scene Builder is a program that allows you to design JavaFx layouts.
Download Scene Builder from gluonhq.com. I downloaded SceneBuilder-9.0.1.exe.


Step 2. Install Scene builder

Double click on SceneBuilder-9.0.1.exe to install it.


Step 3. Create JavaFx project

Start IntelliJ and create a new project by going to New -> Project.

Create a new JavaFx project.

new_javafx_project.png
Fig: New JavaFx project in IntelliJ

When you run your new project you will get a empty window.

javafx_empty.png
Fig: JafaFx code.

Click on sample.fxml and then Scene Builder.

scene_builder.png
Fig: Scene builder in IntelliJ.

Add comment

avatar_blank_60.png

Comment:

Name:

Email:

Comments

No comments yet. You can be the first one to comment. Just write your comment in the form and click on the submit button.