Creating a User Interface in JavaFX
Life is the art of drawing without an eraser.
—John W. Gardner
Chapter 1 gave you a jump start using JavaFX by covering the basics in developing and executing JavaFX programs. Now we cover many of the details about creating a UI in JavaFX that were glossed over in Chapter 1. First on the agenda is to get you acquainted with the theater metaphor used by JavaFX to express UIs and to cover the significance of what we call a node-centric UI.
Programmatic Versus Declarative Creation of the User Interface
The JavaFX platform provides two complementary ways for creating a UI. In this chapter, we discuss ...