public void onModuleLoad() { Debug.injectDebug(); Document.get().getBody().getStyle().setBackgroundColor("#e1e2e5"); BrowserFence fence = GWT.create(BrowserFence.class); fence.go( new Command() { public void execute() { Command dismissProgressAnimation = showProgress(); delayLoadApplication(dismissProgressAnimation); } }); }