In the left-hand part of the dialog, under IDE Settings, select Plugins.

In the right-hand part of the dialog, on the Plugins page, type fx in the search box.
As a result, only the plugins whose names and descriptions contain fx are shown in the list of plugins.

If the check box to the left of JavaFX is not selected, select it.

Click OK in the Settings
dialog.

If suggested, restart IntelliJ IDEA.

Defining JDK 7 in IntelliJ IDEA

Once you have JDK 7 or a later version downloaded and installed, you should define it in IntelliJ IDEA.
You can do that separately, the way described in this section.
You can also do that at a later time, when creating a project for your JavaFX application development.

Specifying the path to the JavaFX Scene Builder executable file

To be able to open your FXML files in JavaFX Scene Builder right from within IntelliJ IDEA,
you should specify where the Scene Builder executable file is located. You can do that separately, the way described in this section.
You can also do that at a later time, the first time you open an FXML file in the Scene Builder from within IntelliJ IDEA.

In the right-hand part of the page,
specify the SDK (JDK) to be used in your project.

Select the JDK from the list, or click New,
select JDK and select the installation folder of the desired JDK.

Note that the JDK version 7 or later should be specified.

Click Next.

Specify the project name and location, and click Finish.

Exploring the project

Let's take a quick look at what we've got in the project.

The folder src is for your source code.
In this folder, there is already a package called sample containing three files:

Main.java. This is the main application class for starting the sample application.

sample.fxml. This is the FXML file for defining the user interface.

Controller.java. This is the controller class intended to handle user interactions with the UI.

In addition to the sample application source code,
there is a run/debug configuration for running or debugging the application.
The run configuration has the same name as the main application class (Main) and
is shown in the run configuration selector on the toolbar.