Can you post a little code? onDock's name can be ...
# tornadofx
c
Can you post a little code? onDock's name can be confusing especially if you're working with code that doesn't involve docking at all