I think onDock is your goto replacement for onShow...
# tornadofx
c
I think onDock is your goto replacement for onShown, so onBeforeShow (onBeforeDock) should be called before onDock