fother
22 Jan 2009, 2:41 AM
public void onModuleLoad() {
TabPanel panel = new TabPanel();
panel.setAutoWidth(true);
panel.setHeight(400);
com.google.gwt.user.client.ui.Image. img = new com.google.gwt.user.client.ui.Image("http://www.google.com.br/intl/pt-BR_br/images/logo.gif");
TabItem tabItem = new TabItem("Tab");
tabItem.setLayout(new CenterLayout());
tabItem.add(img);
panel.add(tabItem);
RootPanel.get().add(panel);
}
In hosted mode and in firefox 3.0.5, in the first time the image "google" stay equals the attachment "1.jpg". If you refresh the browser or maximize the browser the image "google" stay equals the attachment "2.jpg"
TabPanel panel = new TabPanel();
panel.setAutoWidth(true);
panel.setHeight(400);
com.google.gwt.user.client.ui.Image. img = new com.google.gwt.user.client.ui.Image("http://www.google.com.br/intl/pt-BR_br/images/logo.gif");
TabItem tabItem = new TabItem("Tab");
tabItem.setLayout(new CenterLayout());
tabItem.add(img);
panel.add(tabItem);
RootPanel.get().add(panel);
}
In hosted mode and in firefox 3.0.5, in the first time the image "google" stay equals the attachment "1.jpg". If you refresh the browser or maximize the browser the image "google" stay equals the attachment "2.jpg"