private void log(String log) {
   String innerHtml = $(logEventWindow).html();
   innerHtml += log + "<br />";
   $(logEventWindow).html(innerHtml);
   logEventWindow.setScrollTop(logEventWindow.getScrollHeight());
 }
 @UiHandler(value = {"clearLogButton"})
 public void onClearLogClicked(ClickEvent e) {
   $(logEventWindow).html("");
   logEventWindow.setScrollTop(0);
 }