public void onPageLoad(PageLoadEvent event) {
loadingImage.setVisible(false);
errorLabel.setHTML("");
}
});
table.addPageChangeHandler(new PageChangeHandler() {
public void onPageChange(PageChangeEvent event) {
curPageBox.setText((event.getNewPage() + 1) + "");
loadingImage.setVisible(true);
errorLabel.setHTML("");
}