title: Set focus to a special component
body: <p>I have a class Dialog that encapsulates window of type <code>org.aswing.Component</code>.<br>
  I've create function <code>focus()</code> this way:</p>
  
  <pre><code>public function focus() {
      if (Std.is(window, org.aswing.Component)) {
          var b = window.requestFocus();
      } 
  }
  </code></pre>
  
  <p>After executing this function <code>b</code> is true (i.e. reqest is valid) but no event hadlers was fired. Can you explain how to force focus setting?</p>