code: private <H extends EventHandler> void scheduleEvent(final DomEvent<H> event) {
      DeferredCommand.addCommand(new Command() {
        public void execute() {
          onEvent(event);
        }
      });
    }
docs: Executes the event using a deferred command.