Add class/object construction/initialization code to the code execution buffer.
Add class/object construction/initialization code to the code execution buffer.
This function is called multiple times (by the Scala compiler) with the initialization/construction code of each class and object (but not trait!) that extends JFXApp. This code is buffered until it can be executed in main().
Value parameters
x
Class/object construction code to be buffered for delayed execution.
Attributes
Note
You are strongly advised not to override this function.
JFXApp stage must be an instance of scalafx.application.JFXApp.PrimaryStage to ensure that it actually is a proper wrapper for the primary stage supplied by JavaFX.
JFXApp stage must be an instance of scalafx.application.JFXApp.PrimaryStage to ensure that it actually is a proper wrapper for the primary stage supplied by JavaFX.