if you're not using models, one way could possibly...
# tornadofx
a
if you're not using models, one way could possibly be event subscribers, but that may be too much work for what you'd like to do