Is there any way to use plain JavaFX with Kotlin? ...
# announcements
j
Is there any way to use plain JavaFX with Kotlin? I’m having hard time injecting @FXML properties. I found this https://discuss.kotlinlang.org/t/using-the-fxml-annotations-in-kotlin-to-get-at-fxml/277/13 Solution with Delegates.notNull() does not compile. Solution with
@FXML var prop: ListView<Something>? = null
is ugly and when I debug on initizalization method, it’s not injected I know there is TornadoFX, but I would prefer to make UI in SceneBuilder + FXML and not to worry about another library