Embed presentation
Download to read offline


We must override the start() method of the javafx.application.Application class to construct a JavaFX application, as this is the starting point. A Stage object is passed into the start() method, so we need to import javafx.stage.Stage and pass its object into start. We also need to import javafx.application.Application to override start.

