Java Reference
In-Depth Information
application just like any other JavaFX application. After you are satisfied that
your application is working as desired, you can deploy it to a Web page.
The example we are going to use is the NASA Image Browser application that
can be found on the topic's Web site. This application fetches the RSS feed of the
“images of the day” from the US National Aeronautics and Space Administra-
tion (NASA) Web site and builds a thumbnail view of all the images; as you
select a thumbnail, a higher resolution image is then fetched and displayed from
the NASA Web site. When this JavaFX application is run as a standalone appli-
cation, it looks like a normal JavaFX application, as shown in Figure 9.1.
To deploy this as an applet in an HTML page, there are three steps:
1. Sign the application JAR file.
2. Create the JNLP (Java Network Launch Protocol) descriptor file.
3. Add JavaScript code to the HTML source.
Figure 9.1
NASA Image Browser - Standalone Application
Search WWH ::




Custom Search