)
) ).build();
ConfigUtil.dump(deskModel,System.out);
Desktop desk = new Desktop(deskModel);
mainWindow.addComponent(desk.getRoot());
((VerticalLayout)mainWindow.getContent()).setExpandRatio(desk.getRoot(), 1);
mainWindow.getContent().setSizeFull();
IConfig dir = MConfigFactory.getInstance().createConfigFor(MSystem.locateResource(this, "dir.xml").toURI());
IConfig dir2 = dir.getConfig("dir1");
desk.setSelectedPath(new ConfigNavigationNode(dir2));
// ((VerticalLayout)mainWindow.getContent()).setExpandRatio(kill, 0);
VerticalLayout form = new VerticalLayout();
//form.setSizeFull();
buildWithPojo(form);
form.setMargin(true);
desk.getContentArea().addPanel(new ContentPanel("Form", form, null, false));
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}