@Override public void showLoading(Displayer displayer) { currentDisplayer = null; VerticalPanel centeredPanel = new VerticalPanel(); centeredPanel.setWidth("100%"); centeredPanel.setHeight("100%"); centeredPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER); centeredPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE); Image loadingIcon = new Image(DataSetClientResources.INSTANCE.images().loadingIcon().getSafeUri()); loadingIcon.setTitle(DashboardConstants.INSTANCE.loading()); loadingIcon.setAltText(DashboardConstants.INSTANCE.loading()); centeredPanel.add(loadingIcon); displayerPanel.clear(); displayerPanel.add(centeredPanel); }