ajax1.addStyleName("pad-text");
ajax1.setAutoLoad(new RequestBuilder(RequestBuilder.GET, GWT.getHostPageBaseURL() + "data/ajax1.html"));
panel.add(ajax1);
TabItem eventTab = new TabItem("Event Tab");
eventTab.addListener(Events.Select, new Listener<ComponentEvent>() {
public void handleEvent(ComponentEvent be) {
Window.alert("Event Tab Was Selected");
}
});
eventTab.addStyleName("pad-text");