code: protected void refresh(String dsID) {
          int i = getTabIndex(dsID);
          try {
              List<Datastream> versions =
                      Administrator.APIM.getDatastreamHistory(m_pid, dsID);
              m_currentVersionMap.put(dsID, versions.get(i));
              logger.debug("New create date is: " + versions.get(i).getCreateDate());
              DatastreamPane replacement =
                      new DatastreamPane(m_owner, m_pid, versions, this);
              m_datastreamPanes[i] = replacement;
              m_tabbedPane.setComponentAt(i, replacement);
              m_tabbedPane.setToolTipTextAt(i, versions.get(i).getMIMEType() + " - "
                      + versions.get(i).getLabel() + " ("
                      + versions.get(i).getControlGroup().toString() + ")");
              colorTabForState(dsID, versions.get(i).getState());
              setDirty(dsID, false);
          } catch (Exception e) {
              Administrator
                      .showErrorDialog(Administrator.getDesktop(),
                                       "Error while refreshing",
                                       e.getMessage()
                                               + "\nTry re-opening the object viewer.",
                                       e);
          }
      }
docs: Refresh the content of the tab for the indicated datastream with the
  latest information from the server.