4-1. Embedding JavaFX Applications in a Web Page

Problem

You hope to get promoted out of your cubicle into an office with windows by impressing your boss by creating a proof of concept using JavaFX with your existing web development skills.

Solution

Create a Hello World program using the NetBeans IDE 7.1 or later by using its new project wizard to create an application to run in a browser. Shown following are steps to follow to create a Hello World JavaFX application that is embedded in an HTML web page:

images Note For in-depth JavaFX deployment strategies refer to Oracle’s deploying JavaFX Applications: http://download.oracle.com/javafx/2.0/deployment/deployment_toolkit.htm ...

Get JavaFX 2.0: Introduction by Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.