====== Text a JavaFX Example Project ====== ===== Open the Project ===== - Go to //File-->New Project...// \\ {{ :comfilepi:test_javafx_example_project:open_project_1.png?nolink |}} \\ - From the //Samples/JavaFX// node, choose the //Stopwatch// project and press the //Next// button. \\ {{ :comfilepi:test_javafx_example_project:open_project_2.png?nolink |}} \\ - Confirm the location and press the //Finish// button. \\ {{ :comfilepi:test_javafx_example_project:open_project_3.png?nolink |}} \\ ===== Configure the Project ===== - When the project opens, right click on the project node and choose //Properties// to open the project's properties window. \\ {{ :comfilepi:test_javafx_example_project:open_project_4a.png?nolink |}} \\ - In the //Run// category, change the //Runtime Platform// to the ComfilePi platform created in XXXXXXXXXX. \\ {{ :comfilepi:test_javafx_example_project:open_project_4.png?nolink |}} \\ - When prompted to give the new configuration a name, give it a name, and press the //Ok// button. \\ {{ :comfilepi:test_javafx_example_project:open_project_5.png?nolink |}} \\ - Press the //Ok// button to finish. \\ {{ :comfilepi:test_javafx_example_project:open_project_6.png?nolink |}} \\ ===== 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. {{ :comfilepi:test_javafx_example_project:debug_1.png?nolink |}} {{ :comfilepi:test_javafx_example_project:debug_2.png?nolink |}} 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/*/;\ '"