}
mainVC.contextPut("demolinknames", demolinknames);
// all democontroller content goes in this panel
contentP = new Panel("content");
content_sourceVC = createVelocityContainer("content_source");
mainVC.put("democontent", contentP);
//
String firstDemo = demolinknames.iterator().next();
ControllerCreator cc = demos.get(firstDemo);
demoController = cc.createController(ureq, getWindowControl());
contentP.setContent(demoController.getInitialComponent());
sourceP = new Panel("sourceP");
VelocityContainer sourceVC = createVelocityContainer(firstDemo);
ShrinkController sc = new ShrinkController(ureq, getWindowControl(), false, sourceVC, "toggle source");
sourceP.setContent(sc.getInitialComponent());
content_sourceVC.put("content", mainVC);