<Can't infer proper type myself in Kotlin when usi...
# stackoverflow
u
Can't infer proper type myself in Kotlin when using JavaFX I just started to study Kotlin and JavaFX by following tutorial. I could see blank JavaFX windows, and I proceed next step that using FXML. import javafx.application.Application import javafx.fxml.FXMLLoader import javafx.scene.Scene import javafx.stage.Stage class AppMain : Application() { override fun start(primaryStage: Stage) { primaryStage.title = "Try JavaFX" val fxml = javaClass.getResource("fxml/Main.fxml") val root = FXMLLoader.load(fxml) // ERRORS...