Self-Review Exercises

25.1 Fill in the blanks in each of the following statements:

a) A(n) _________ can display text and accept text input from the user.

b) Use a(n) _________ to arrange GUI components into cells in a rectangular grid.

c) JavaFX Scene Builder’s _________ window shows the structure of the GUI and allows you to select and reorganize controls.

d) You implement interface _________ to respond to events when the user moves a Slider’s thumb.

e) A(n) _________ represents the app’s window.

f) The method _________ is called by the FXMLLoader before the GUI is displayed.

g) The contents of a scene are placed in its _________.

h) The elements in the scene graph are called _________.

i) _________ allows you to build JavaFX GUIs using drag-and-drop ...

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.