title: create DockPanel inside a particular div element of UIBinder
body: <p>Is it possible to add Panel to html elements in GWT? </p>
  
  <p>I have checked and it does not contain wrap or setElement methods. I have also tried to check the source code and it does not have a constructor with Element as input. The constructor does call getTable() method which returns a table element, but I don't know where and how to set it. </p>
  
  <p>Any ideas?</p>
  
  <p>=============== EDIT ==================</p>
  
  <p>By looking at the source code, it seems that this is not possible to do. DockPanel inherits from cellPanel and here is what is does in constructor. </p>
  
  <pre><code>  /**
     * Creates an empty dock panel.
     */
    public DockPanel() {
      DOM.setElementPropertyInt(getTable(), "cellSpacing", 0);
      DOM.setElementPropertyInt(getTable(), "cellPadding", 0);
    }
  
   public CellPanel() {
      table = DOM.createTable();
      body = DOM.createTBody();
      DOM.appendChild(table, body);
      setElement(table);
    }
  
  
  
    /**
     * Creates an empty dock panel.
     *
     * @param unit the unit to be used for layout
     */
    public DockLayoutPanel(Unit unit) {
      this.unit = unit;
  
      setElement(Document.get().createDivElement());
      layout = new Layout(getElement()); // private
      layoutCmd = new DockAnimateCommand(layout); // private
    }
  </code></pre>
  
  <p>==================== EDIT 2 ===========================</p>
  
  <p>Given: </p>
  
  <p>HTML</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
     &lt;table id="dockLayoutPanel"&gt;
     &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>JAVA/Js</p>
  
  <pre><code>   TableElement tEle = DOM.getElementById("dockLayoutPanel");
     DockPanel panel = new DockPanel(tEle);
     // and then use the panel as usual.
  </code></pre>