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 comments

  1. Pingback: JavaFX links of the week, December 14 // JavaFX News, Demos and Insight // FX Experience
  2. Pingback: Eclipse update site for Exadel JavaFX plug-in for Eclipse | Maxa Blog

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Notify me of followup comments via e-mail. You can also subscribe without commenting.