O'Reilly logo

JavaFX™ Script: Dynamic Java™ Scripting for Rich Internet/Client-Side Applications by JAMES L. WEAVER

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

CHAPTER 4Creating JavaFX Classes and Objects

I paint objects as I think them, not as I see them.

Pablo Picasso

Now that you have gained some experience developing UIs in JavaFX, I'd like to switch gears and show you more completely how to define classes. In this chapter, you'll gain understanding and experience in writing operations and functions, as well as triggers, which are automatically invoked under certain conditions. You'll also become familiar with JavaFX statements, expressions, sequences (also known as arrays), and other concepts related to creating classes. I'm going to walk you through all of this in the context of the Word Search Builder application that we began examining in the previous chapter.

Testing the Word Search Builder ...

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