Running JavaFX SDK examples with Eclipse

When you download JavaFX SDK, it comes with a number of ready to run examples. They are located in ‘samples’ directory. You can build them from the command line but a much easier way to run is from Exadel JavaFX plug-in for Eclipse. The plug-in has a special wizard that will create a new project based on any of the samples.

  1. Download and install Exadel JavaFX plug-in for Eclipse
  2. After setting up JavaFX SDK in Eclipse, select File/New/Example…/JavaFX Examples
  3. Click Next
  4. Enter project name and select from available examples list (screen shot below)
  5. Click Finish

That’s it. Once the project is created find Main.fx file, right-click it and select Run As/JavaFX Application.



  1. SMiGL says:

    subject was not disclosed 🙂

Leave a Comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.