Java Reference
In-Depth Information
4. Select the JavaFX site, as shown in the previous screenshot, then click on Install-
to continue.
5. Follow the instructions of the plugin wizard.
6. Accept the terms of the license, and make sure to restart the Eclipse IDE
when prompted.
Now that you have Eclipse setup with JavaFX, it makes sense to create a quick Hello-World
application in Eclipse to test the installation.
To get started, select New from the File menu (you may have to select Other if JavaFX is not
listed as a project type).
You must have the SDK installed and configured prior to creating your
first application (see recipe Installing the JavaFX SDK ).
7. When presented with the new project wizard, select JavaFX-Project and click on
the Next button.
8. Then, provide the project's name (HelloWorld), location, JRE version, and type
(default is Desktop) to continue with the project's creation.
9. Click on the Next button and select a project template (which is a based on
pre-existing sample code). Select the Empty-Project template and click on the
Finish button.
10. The wizard will complete the project creation, and you should have a project shell
ready for you to start coding.
Search WWH ::

Custom Search