From inside a `Component` you could now do `val jP...
# tornadofx
e
From inside a
Component
you could now do
val jProInstance = (scope as JProScope).instanceId
if you for some reason need to get to the instance id. You could also make a field for the primaryStage and add a method to the scope to retrieve the WebAPI. As I mentioned earlier you could even add a ViewModel in there if you create a limited scope for example to support MDI. @carlw I would love it if you would try this to see if we can support your use case with it. Will polish a bit more and then push it I think. I have tried all my apps (not scope-aware) and had no issues after the rewrite.