title: GWT - refreshing a tab panel
body: <p>I have a tabpanel with 3 tabs. One of the tabs has a table which draws a table with data from the database. But if new data is entered, after I select the tab I have to refresh the browser page to see the update. 
  I've added the following selection handler to the tabpanel:</p>
  
  <pre><code>tabpanel.addSelectionHandler(new SelectionHandler&lt;Integer&gt;() 
          {
              public void onSelection(SelectionEvent&lt;Integer&gt; event) 
              {
                  int tabId = event.getSelectedItem();
                  Widget tabWidget = tabpanel.getWidget(tabId);
                  if (tabWidget != null) 
                  {
                      //assumming that code to refresh will go here...
                  }
              }
          });
  </code></pre>
  
  <p>What can I do so that when a certain tab is selected then that tab will refresh?</p>
  
  <p>Thanks so much in advance.</p>