code: public void afterPageDisplay()
      {
          SwingWorker<String,String> worker = new SwingWorker<String,String>()
          {
              public String doInBackground()
              {
                  return null;
              }
              public void done()
              {	// This should always be the awt thread
                  SwingSyncPageWorker.this.done();
                  if (m_syncPage instanceof Task)
                  {
                      ((Task)m_syncPage).setStatusText(null, Constants.INFORMATION);
                  }
                  else if (m_syncPage instanceof JBasePanel)
                  {
                      if (((JBasePanel)m_syncPage).getBaseApplet() != null)
                          ((JBasePanel)m_syncPage).getBaseApplet().setStatusText(null, Constants.INFORMATION);
                  }
                  Cursor waitCursor = Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR);
                  if (m_syncPage instanceof Component)
                  {
                  	((Component)m_syncPage).setCursor(waitCursor);
                      ((Component)m_syncPage).repaint();	// Queue a repaint
                  }
              }
          };
          worker.execute();
      }
docs: Do this code after the page has displayed on the screen.
  Override this method.