title: How to focus on element in GWT?
body: <p>i have this class for my input textbox:</p>
  
  <pre><code>    class InputTextBox extends FlowPanel { 
        public InputTextBox(String labelText) { 
          super(); 
          Label label = new Label(labelText); 
          TextBox input = new TextBox(); 
          this.add(label); 
          this.add(input); 
          this.addStyleName("myBox"); 
        }
  
  
      }
  </code></pre>
  
  <p>How do I set focus on that textbox so when onmoduleload is called the cursor appears in the textbox?  Adding a member function seems to throw many errors.</p>
  
  <pre><code>      public void setFocus(boolean b) {
          this.setFocus(b);
  
        } 
  </code></pre>