code: public void setWidths(int[] widths) throws DocumentException {
          float tb[] = new float[widths.length];
          for (int k = 0; k < widths.length; ++k)
              tb[k] = widths[k];
          setWidths(tb);
      }
docs: Sets the widths of the different columns (percentages).
  <P>
  You can give up relative values of borderwidths.
  The sum of these values will be considered 100%.
  The values will be recalculated as percentages of this sum.
  
  @param       widths  an array with values
  @throws DocumentException