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.

screenshot_091

3 responses to “Running JavaFX SDK examples with Eclipse”

  1. […] Exadel blog shows how to run JavaFX SDK examples using their JavaFX plugin for […]

  2. subject was not disclosed πŸ™‚

  3. […] a project based on JavaFX SDK examples or after creating a new JavaFX project, select File/New/JavaFX Script – you will have an […]

Leave a comment