title: GWT onResize & mouse up
body: <p>I have a window <code>resizeHandler</code>, it is working fine.  Except that I'm just interested in the final dimension of the window, in other words, I'm interested in the dimension of the window when the mouse button is released.  Is there a way I can listen to window mouse events?</p>
  
  <p>I've written a piece of code that accomplishes my goal but I'd prefer something more obvious. <code>resizeRequestId</code> is a field:</p>
  
  <pre class="lang-java prettyprint-override"><code>private void processResize() {
  
      final Timer timer = new Timer() {
      final Size windowSize = getWindowDimention();
  
      final int requestId = ++resizeRequestId;
  
      @Override
          public void run() {
              final boolean isLatestRequest = requestId == resizeRequestId;
          if (isLatestRequest) {
                  //DO SOMETHING WITH windowSize
              }
          }
      };
      timer.schedule(100);
  }
  </code></pre>