I get an “java.lang.IllegalStateException: Not on ...
# tornadofx
d
I get an “java.lang.IllegalStateException: Not on FX application thread; currentThread = tornadofx-thread-1” Exception and am a bit confused since I thougt the tornadofx Thread should be an FX application thread?
w
One solution is to wrap any code which will touch the UI in Platform.runLater{ ... }