why does this work in java `stage.setOnCloseReques...
# tornadofx
r
why does this work in java
stage.setOnCloseRequest(event -> stage.hide());
and this
FX.primaryStage.setOnCloseRequest({ event -> FX.primaryStage.hide() })
not in tornadoFX?