TabLayout tabs = new TabLayout();
tabs.setHideTabBarWithSingleTab(false);
tabs.addTab("Buttons", panel);
tabs.addTab("Tab1", new HTML("Tab1 Content"));
// tabs.addTab("Tab2", new CenterLayout(new HTML("Tab2 Content")));
tabs.addTab(new TabSpec("contentPanel", "Content Panel", null, cp, true));
// tabs.add(new HTML("Tab2 Content"), "Tab2");
// tabs.add(new HTML("Tab3 Content"), "Tab3");
// tabs.add(new HTML("Tab4 Content"), "Tab4");
// tabs.add(new HTML("Tab5 Content"), "Tab5");
// tabs.add(new HTML("Tab6 Content"), "Tab6");