if you would look at <https://github.com/ronsmits/...
# tornadofx
r
if you would look at https://github.com/ronsmits/threadsexample it starts a jetty server thread and communicates with javafx