Java Reference
In-Depth Information
Problem
You want to incorporate JavaFX applications into web pages.
Solution
Create a Hello World application using the NetBeans IDE 8.0 or later by using its new
project wizard to create an application to run in a browser. Here are steps to follow to
create a Hello World JavaFX application that is embedded in an HTML web page:
Note
For in-depth JavaFX deployment strategies, refer to Oracle's deploying
JavaFX applications at
http://docs.oracle.com/javafx/2/deployment/
Here are the steps for running the new project wizard:
1.
Select New Project from the File menu in NetBeans IDE version 8 or
later.
2.
Select JavaFX in the Categories section under Choose Project, as
shown in
Figure 17-1
. Next, select JavaFX Application under Pro-
jects. Then click Next to proceed.