25.5.2 Technologies Overview
This section introduces the technologies you’ll use to build the Tip Calculator app.
The main class in a JavaFX app is a subclass of Application (package javafx.application.Application). The app’s
main method calls class
static launch method to begin executing a JavaFX app. This method, in turn, causes the JavaFX runtime to create an object of the
Application subclass and call its start method, which creates the GUI, attaches it to a
Scene and places it on the
Stage that method
start receives as an argument.
Arranging JavaFX Components with a GridPane
Recall that layout containers arrange JavaFX components in a
Scene. A GridPane (package javafx.scene.layout) arranges JavaFX components ...