examplePanel.setWidget(dockLayoutPanel);
}
protected void addTabContent(final PTabLayoutPanel tabPanel) {
final PSimpleLayoutPanel tabContent = new PSimpleLayoutPanel();
tabContent.setStyleProperty("background-color", colors[tabCount % colors.length]);
final int tabIndex = tabCount;
final PLabel label = new PLabel("content-" + tabIndex);
label.setStyleProperty("color", "white");
tabContent.setWidget(label);
tabPanel.add(tabContent, "Tab-" + tabIndex);
tabCount++;
}