Skip to content

//Ankea/fi.jyu.ohj2.sourander.ankea.controller/MainController/initialize

initialize

[JVM]\ open fun initialize(location: URL, resources: ResourceBundle)

Called by the JavaFX runtime after all @FXML fields have been injected.

Creates a new AnkeaModel, sets the initial label text, and registers a click handler on testButton that updates testLabel with the model's response.

Parameters

JVM

location the URL of the FXML document (may be null)
resources the resource bundle for the root object (may be null)