1. Yes you can use @FXML annotation if you want t...
# tornadofx
e
2. Yes you can use @FXML annotation if you want to. Since Kotlin requires you to add the lateinit modifier however, I think the TornadoFX default way looks cleaner. These two work the same though:
@FXML lateinit var myButton: Button
vs
val myButton: Button by fxid()