How do I download JavaFX from IntelliJ?

How can I download JavaFX from IntelliJ?

Below are the steps to add JavaFX to IntelliJ

  1. The JavaFX bundled plugin must be enabled in order to interact with JavaFX in IntelliJ IDEA.
  2. Select Plugins in the Settings/Preferences dialogue (Ctrl+Alt+S).
  3. Navigate to the Installed tab and ensure that the JavaFX plugin is turned on.
  4. Close the dialogue and apply the changes.