12 JavaFX Graphical User Interfaces: Part 1
Objectives
In this chapter you’ll:
-
Build JavaFX GUIs and handle events generated by user interactions with them.
-
Understand the structure of a JavaFX app window.
-
Use JavaFX Scene Builder to create FXML files that describe JavaFX scenes containing
Label
s,ImageView
s,TextField
s,Slider
s andButton
s without writing any code. -
Arrange GUI components using the
VBox
andGridPane
layout containers. -
Use a controller class to define event handlers for JavaFX FXML GUI.
-
Build two JavaFX apps.
Get Java How to Program, Early Objects, 11th 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.