I think I found a way to solve it, but it involves...
# tornadofx
e
I think I found a way to solve it, but it involves creating three interfaces (IView, IFragment, IUIComponent):