You make a function that has the updateMessage as ...
# tornadofx
r
You make a function that has the updateMessage as parameter