Importing Pro JavaFX Platform book examples into Exadel JavaFX Studio

Pro JavaFX Platform is a fantastic book to learn JavaFX. The book was written by Jim Weaver, Weiqi Gao, Stephen Chin, and Dean Iverson. The book comes with numerous samples that you can run and learn from. I’m going to show you how to important these applications into Exadel JavaFX Studio plug-in for Eclipse.

  1. Download and install Exadel JavaFX Studio plug-in for Eclipse
  2. Download any of the samples. I will use AudioConfig sample to illustrate the steps.
  3. Create new project in JavaFX Studio [see how]
  4. Open project and right-click src folder and select Import. Then General/File System. Click Next
  5. Browse to location where you saved the sample, select src inside AudioConfig [screen shot]. Click OK
  6. You should see src folder in the right window. Select the check box [screen shot]. Click Finish.
  7. JavaFX script files are now imported. Open projavafx.audioconfig.ui.AudioConfigMain.fx
  8. Right-click file (or in source) and select Run As/JavaFX Application.
  9. To launch in web browser, right-click and select Run As/JavaFX Application (Applet)
  10. Have fun!

Running:
screenshot_016

Leave a comment