docs: public static String breakIntoLines( final String text,
                                           final int lineCharMaxWidth,
                                           final boolean forceWrap )
      {
          String[] paragraphs;
          paragraphs = text.split( "\n" );
  
          String[] words;
          StringBuffer bigBuffer = new StringBuffer( text.length() );
          StringBuffer buffer = null;
          int wordLength;
  
          for ( int ii = 0; ii < paragraphs.length; ii++ )
          {
              //
              //    Now break the existing lines into... into... into what??
              //
              words = paragraphs[ii].split( " " );
              for ( int jj = 0; jj < words.length; jj++ )
              {
                  if ( buffer != null
                          && ( ( buffer.length() + words[jj].length() ) > lineCharMaxWidth ) )
                  {
                      appendToBuffer( bigBuffer, buffer.toString(), "\n" );
                      buffer = null;
                  }
  
                  wordLength = words[jj].length();
                  if ( wordLength >= lineCharMaxWidth )
                  {
                      if ( forceWrap )
                      {
                          int kk = 0;
                          int endIndex;
                          while ( kk <= wordLength - 1 )
                          {
                              endIndex = kk + lineCharMaxWidth;
                              if ( endIndex > wordLength )
                              {
                                  endIndex = wordLength;
                              }
  
                              appendToBuffer( bigBuffer, words[jj]
                                      .substring( kk, endIndex ), "\n" );
                              kk += lineCharMaxWidth;
                          }
                      }
                      else
                      {
                          appendToBuffer( bigBuffer, words[jj], "\n" );
                      }
                      continue;
                  }
  
                  if ( buffer == null )
                  {
                      buffer = new StringBuffer( lineCharMaxWidth );
                  }
  
                  appendToBuffer( buffer, words[jj], " " );
              }
  
              if ( buffer != null )
              {
                  appendToBuffer( bigBuffer, buffer.toString(), "\n" );
                  buffer = null;
              }
          }
  
          return bigBuffer.toString();
      }