code: public boolean setCSSBoxAnalyzer(CSSBoxAnalyzer cba)
      {
          EditorKit kit = getEditorKit();
          if (kit instanceof SwingBoxEditorKit)
          {
              ((SwingBoxEditorKit) kit).setCSSBoxAnalyzer(cba);
              return true;
          }
  
          return false;
      }
docs: Sets the css box analyzer.
  
  @param cba
  the analyzer to be set
  @return true, if successful