inject the globally available TaskStatus and do so...
# tornadofx
c
inject the globally available TaskStatus and do something like button("Run") { disableProperty().bind( status.running) }