I am looking solution for javafx FileChooser
(in Kotlin). I stuck on this, I cannot pass root View, because Window!
is expected:
button("open some file") {
setOnAction {
val fileChooser = FileChooser();
val file = fileChooser.showOpenDialog(???)
...
}
}
What should I pass in this case?