code: public final void updateByte(final int n) {
          this.currentByte = n;
          if ((panel != null) && (n % 10000 == 0)) {
              panel.setCurrentByte(n);
          }
      }
docs: Updates the current byte number of the file transferred.If called outside
  the EDT this method will switch to the UI thread using
  <code>SwingUtilities.invokeLater(Runnable)</code>.
  
  @param n
  Byte number.