Hello,
see how it is done in JEasy. The hole GUI is stored in XML. To build panels and other components dynamically, JEasy offers a XML-Syntax to create new compnentns at runtime.
To
test it, run the Example from
www.jeasy.de and chose the tabbedpane dynamic panel. Change the xml
string at the left and build a form.
Harry