Adding JavaFx Scene Builder to Intellij idea Ide and Creating Sample Project

Adding JavaFx to Intellij idea Ide:
  1. Download the latest JavaFx Scene builder from Gluonhq and install it.
  2. The application can work standalone without Intellij idea but to use it inside Intellij idea the installation path must be added.
  3. Go to File -> Settings -> Languages & Frameworks -> JavaFx and add the installation path to it.
  4. javafx path example
    javafx path example

     

  5.  Also make sure JavaFx plugin is installed and enabled.
  6. select javafx in new projects menu
    select javafx in new projects menu and click next

     

  7. In the next window name your project
    In the next window name your project and click finish

     

  8. Now in the projects tab go to YourProjectName -> src -> sample there should be two Java Files Main, Controller and sample.fxml
  9. Click on the Scene builder tab in the bottom of the window
    Click on the Scene builder tab in the bottom of the window

     

  10. It should look like this
    It should look like this

     

  11. Now just drag a button from control section and run it
    Now just drag a button from control section and run it

     

     

One thought on “Adding JavaFx Scene Builder to Intellij idea Ide and Creating Sample Project

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s