User Tools

Site Tools



Text a JavaFX Example Project

Open the Project

  1. Go to File–>New Project…

  2. From the Samples/JavaFX node, choose the Stopwatch project and press the Next button.

  3. Confirm the location and press the Finish button.

Configure the Project

  1. When the project opens, right click on the project node and choose Properties to open the project's properties window.

  2. In the Run category, change the Runtime Platform to the ComfilePi platform created in XXXXXXXXXX.

  3. When prompted to give the new configuration a name, give it a name, and press the Ok button.

  4. Press the Ok button to finish.

Deploy, Execute, and Debug the Project

Select the Debug icon from the toolbar to deploy the project to the ComfilePi, execute it, and begin debugging.

If you get errors like Udev: Failed to write to /sys/class/input/mice/uevent, add the following lines to the file /etc/udev/rules.d/99-com.rules.

SUBSYSTEM=="input*", PROGRAM="/bin/sh -c '\
        chown -R root:input /sys/class/input/*/ && chmod -R 770 /sys/class/input/*/;\
comfilepi/test_javafx_example_project/index.txt · Last modified: 2017/03/06 18:52 by COMFILE Technology