TabLayoutPanel的简单例子没有显示容器部件仅标签项目都可见。 出乱子是它适用于IE8
public class DemoGWT implements EntryPoint {
RootPanel rp = RootPanel.get();
public void onModuleLoad() {
TabLayoutPanel panel = new TabLayoutPanel(25, Unit.PX);
Label a = new Label("One Container");
panel.add(a, "One Hdr");
panel.add(new Label("Two Container"), "Two Hdr");
panel.add(new Label("Three Container"), "Three Hdr");
panel.add(new Label("Four Container"), "Four Hdr");
panel.add(new Label("Five Container"), "Five Hdr");
panel.add(new Label("Six Container"), "Six Hdr");
rp.add(panel);
}
}