O'Reilly logo

JavaFX™ Developer’s Guide by Kim Topley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. A Simple JavaFX Application

Now that you have been introduced to the basics of JavaFX Script and seen how to compile and run some code, it’s time to look at a slightly less-trivial example. The SnowStorm application that we build in this chapter displays an image of a snow-covered building and animates a number of snowflakes falling in front of it to create the impression of a chilly winter scene, as shown in Figure 4-1.

Figure 4-1 The SnowStorm application

image

In the second part of this chapter, you see how to use the NetBeans IDE to debug and profile this application.

Building the SnowStorm Application

You can find the source code for the SnowStorm ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required