I have created a template (which has one or two properties in its root that enables the template to report on a specific part of my system). What I need to do is:
a) Dynamically create a variable amount of instances of this template in a container
b) These instances must be able to dynamically position themselves depending on the size of the container (similar to the FlowLayout Manager in Java)
I imagine I will need “the invert” of the function system.gui.getParentWindow(event).getComponent() (thus, something like system.gui.getParentWindow(event).createComponent() perhaps?). I will of course also need to pass some parameters into it in order to initialise the properties in its root.