row.addStyleName("wrapping");
row.setSpacing(true);
row.setMargin(new MarginInfo(true, false, false, false));
addComponent(row);
HorizontalSplitPanel sp = new HorizontalSplitPanel();
sp.setCaption("Default style");
sp.setWidth("400px");
sp.setHeight(null);
sp.setFirstComponent(getContent());
sp.setSecondComponent(getContent());
row.addComponent(sp);
VerticalSplitPanel sp2 = new VerticalSplitPanel();
sp2.setCaption("Default style");
sp2.setWidth("300px");
sp2.setHeight("200px");
sp2.setFirstComponent(getContent());
sp2.setSecondComponent(getContent());
row.addComponent(sp2);
sp = new HorizontalSplitPanel();
sp.setCaption("Large style");
sp.setWidth("300px");
sp.setHeight("200px");
sp.addStyleName("large");
sp.setFirstComponent(getContent());
sp.setSecondComponent(getContent());
row.addComponent(sp);
sp2 = new VerticalSplitPanel();
sp2.setCaption("Large style");
sp2.setWidth("300px");