CHAPTER 3

image

Using SceneBuilder to Create a User Interface

Give me a lever long enough and a fulcrum on which to place it, and I shall move the world.

—Archimedes

In Chapter 2, you learned about the two ways of creating a JavaFX UI, programmatically and declaratively, and how to programmatically create a UI using the JavaFX APIs. You are familiar with the theater metaphor of the JavaFX UI, with the Stage representing a window in a Windows, Mac, or Linux program, or the touch screen in a mobile device, the Scene and the Nodes it contains representing the content of the UI. In this chapter, we tackle the other side of the UI story in JavaFX: the ...

Get Pro JavaFX 8 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.