February 2014
Beginner
1248 pages
62h 25m
English
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 Application’s 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.
Recall that layout containers arrange JavaFX components in a Scene. A GridPane (package javafx.scene.layout) arranges JavaFX components ...
Read now
Unlock full access