`Platform.runLater { setAsCurrentlyDocked(newCmp)`
# tornadofx
e
Platform.runLater { setAsCurrentlyDocked(newCmp)