.getContent();
mainLayout.setSizeFull();
mainLayout.setMargin(false);
setMainWindow(mainWindow);
VerticalSplitPanel sp = new VerticalSplitPanel();
sp.setSizeFull();
sp.setSplitPosition(20, Sizeable.UNITS_PIXELS);
VerticalLayout pl = new VerticalLayout();
pl.setMargin(true);
p = new Panel("This is a panel", pl);
p.setSizeFull();
Label label1 = new Label("This is a table!");
label1.setHeight("1500px");
label1.setWidth("1500px");
pl.addComponent(label1);
p.setScrollTop(50);
// MyTable table1 = new MyTable(24, "table1");
// table1.loadTable(1000);
// MyTable table2 = new MyTable(24, "table2");
// table2.loadTable(1000);
// MyTable table3 = new MyTable(24, "table3");
// table3.loadTable(1000);
// MyAccordion accordion = new MyAccordion(new Component[] { table1,
// table2 }, "Test");
Label a = new Label("abc123");
TextField tf = new TextField("A large textfield");
tf.setHeight("2500px");
tf.setWidth("2500px");
TabsAcc tab = new TabsAcc(new Component[] { p, a, tf });
tab.addListener(this);
mainLayout.addComponent(sp);
sp.addComponent(new Label("C 1"));
// sp.addComponent(new Label("C 2"));
// sp.setHeight("100px");
sp.addComponent(tab);
// mainLayout.addComponent(new Label("Filler"));
// mainLayout.addComponent(tab);
// mainLayout.setExpandRatio(tab, 1.0f);
// sp.addComponent(new Label("Filler"));
// sp.addComponent(tab);