Book Image

JavaFX Essentials

By : Mohamed Taman, Mohamed Taman
Book Image

JavaFX Essentials

By: Mohamed Taman, Mohamed Taman

Overview of this book

Table of Contents (16 chapters)
JavaFX Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Monitoring and Controlling Arduino with JavaFX
Index

Using NetBeans with the Pi


After discussing our application logic and seeing how it works, it's time for the best part: building your application and running it on the Raspberry Pi using NetBeans. The steps are as follows:

  1. Right-click on the Chapter6 project in NetBeans Projects tab and select Properties.

  2. From the Project Properties box, select Run from the Categories menu to the left. You will see a dialog similar to the following screenshot:

    Project Properties dialog and the Run incarnation

  3. Click on the New button to the right of the selected Configuration. Set a name for the New Configuration (Pi Remote Config) and click on the OK button, as shown in the following screenshot:

    New Configuration

  4. Now you have to associate a remote JDK with your remote configuration. To do so, click on the combo box labeled Runtime Platform and select JavaFX on Raspberry Pi JDK 8 that you configured earlier. Don't forget to add the path for jfxrt.jar in VM Options:

    Remote Pi JDK association

  5. The final step is to build...