ble. The
  calculation is based on the preferred width of the header renderer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>table</code> - the table to calculate the column width</dd><dd><code>col</code> - the column to calculate the widths</dd>
<dt><span class="strong">Returns:</span></dt><dd>the width, -1 if error</dd></dl>
</li>
</ul>
<a name="setOptimalColumnWidth(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOptimalColumnWidth</h4>
<pre>public&nbsp;v