// load console css bundle
ConsoleResources.INSTANCE.css().ensureInjected();
ConsoleResources.INSTANCE.redhatNew().ensureInjected();
// display the loading panel
final Widget loadingPanel = new LoadingPanel().asWidget();
RootLayoutPanel.get().add(loadingPanel);
GWT.runAsync(new RunAsyncCallback() {
public void onFailure(Throwable caught) {
Window.alert("Failed to load application components!");