I just had to write a plan JavaFX app for work. Just the UI stuff (including CSS and FXML) is currently just over 600 lines (it's a pretty simple utility).
I did a quick test with TornadoFX and can do the same thing (and a bit more for awesome transitions and stuff) in less than 200 lines in a single file that is completely type safe.