code: public void notifyUpdate( URL resource, int expected, int count )
      {
          if( m_first )
          {
              m_expected = expected;
              m_start = System.currentTimeMillis();
              m_first = false;
          }
          int completed = ( count * 100 ) / expected;
          m_out.print( resource.toExternalForm() + " : " + completed + "%    \r" );
      }
docs: Notify the monitor of the update in the download status.
  
  @param resource the name of the remote resource being downloaded.
  @param expected the expected number of bytes to be downloaded.
  @param count    the number of bytes downloaded.