Developing Your First JavaFX Program: "Hello Earthrise" (Getting a Jump Start in JavaFX)

On Christmas Eve in 1968 the crew of Apollo 8 entered lunar orbit for the first time in history. They were the first humans to witness an "Earthrise," taking the magnificent picture shown in Figure 1-4.

The Hello Earthrise program

Figure 1-4. The Hello Earthrise program

In addition to demonstrating how to dynamically load images over the Internet, this example shows you how to use animation in JavaFX. Now it’s time for you to compile and run the program. We show you two ways to do this: from the command-line, and using NetBeans with the JavaFX plug-in.

Next post:

Previous post: