Text a JavaFX Example Project
Open the Project
Go to
File–>New Project…
From the
Samples/JavaFX node, choose the
Stopwatch project and press the
Next button.
Confirm the location and press the
Finish button.
When the project opens, right click on the project node and choose
Properties to open the project's properties window.
In the
Run category, change the
Runtime Platform to the ComfilePi platform created in XXXXXXXXXX.
When prompted to give the new configuration a name, give it a name, and press the
Ok button.
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/*/;\
'"