docs: public void setStatusText(String strStatus, int iWarningLevel)
      {
          if (strStatus == null)
              strStatus = Constants.BLANK;
          m_strCurrentStatus = strStatus;
          m_iCurrentWarningLevel = iWarningLevel;
          //xif (this.getApplet() != null)
          //x    ((BaseApplet)this.getApplet()).showStatus(strStatus);
          //xelse
          //x{
              if (iWarningLevel != Constants.ERROR)
              {   // Warning or information
                  ImageIcon icon = null;
                  if (iWarningLevel == Constants.INFORMATION)
                      icon = this.loadImageIcon(ThinMenuConstants.INFORMATION);
                  else if (iWarningLevel == Constants.WARNING)
                      icon = this.loadImageIcon(ThinMenuConstants.WARNING);
                  else if (iWarningLevel == Constants.WAIT)
                      icon = this.loadImageIcon(ThinMenuConstants.WAIT);
                  else if (iWarningLevel == Constants.ERROR)
                      icon = this.loadImageIcon(ThinMenuConstants.ERROR);
                  if (this.getStatusbar() != null)
                      this.getStatusbar().showStatus(strStatus, icon, iWarningLevel);
              }
              else
              {   // Full blown error message (show dialog)
                  Container frame = BaseApplet.getSharedInstance();
                  while ((frame = frame.getParent()) != null)
                  {
                      if (frame instanceof JFrame)
                      {
                          JOptionPane.showMessageDialog((JFrame)frame, strStatus, "Error: ", JOptionPane.WARNING_MESSAGE);
                          break;
                      }
                  }
              }
          //x}
      }