25. JavaFX GUI: Part 1

But, soft! what light through yonder window breaks? It is the east, and Juliet is the sun!

—William Shakespeare

Even a minor event in the life of a child is an event of that child’s world and thus a world event.

—Gaston Bachelard

... the wisest prophets make sure of the event first.

—Horace Walpole

Do you think I can listen all day to such stuff?

—Lewis Carroll

Objectives

In this chapter you’ll:

Image Build JavaFX GUIs and handle events generated by user interactions with them.

Image Understand the structure of a JavaFX app window. ...

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.