title: Setting a GWT widget's id
body: <p>I have a FlowPanel object on gwt application.</p>
  
  <pre><code>FlowPanel flowPanel = new FlowPanel();
  flowPanel.add(new Button("Edit"));
  flowPanel.add(new Button("Delete"));
  flowPanel.getElement().setId("idOfFlow");
  </code></pre>
  
  <p>It gives me the following error:</p>
  
  <pre><code>flowPanel.getElement().setId("idOfFlow") = No such instance method:
   'void com.google.gwt.core.client.JavaScriptObject$.setId (java.lang.String)'
  </code></pre>
  
  <p>How can I set the Id of the <code>FlowPanel</code>?</p>