title: GWT-EXT - What is the best way to widgets to a specific ContentPanel after an event?
body: <p>first post don't hurt me :)</p>
  
  <p>I am using a <code>BorderLayout</code> with the usual North, West, Center, South Panels. On the <strong>West</strong> <code>ContentPanel</code>, I've got a <code>Tree</code>. If an event (<code>OnClick</code>)occurs I want a particular dialog box displayed on the <strong>Center</strong> <code>ContentPanel</code>.</p>
  
  <p>What is the best way for me to do this? Currently I'm using a function called <code>returnPanel()</code> that returns the center <code>ContentPanel</code>. In the event handler I call this function <code>(MainWindow.returnPanel().add(myDialog))</code>.</p>