title: Width of a TableColumn in a JTable
body: <p>In my application, I use a <code>JTable</code> with a few resizable columns. At closing, I want the app to store the size of the columns displayed. </p>
  
  <p>My problem is that even if I manually resize the columns, the <code>getWidth()</code> function always returns 75 (the default value), no matter the real size of the column. If I look at the <code>TableColumn</code> object with the debugger, it's min size is 15, it's max size is 2147483648, it's preferred size is 75 and it's size is 75. But it's displayed size is clearly not 75!</p>
  
  <p>How can I get the real size of my columns?</p>
  
  <p>The code for getting the widths :</p>
  
  <pre><code>        for(i=0;i&lt;TableOpérations.getColumnCount();i++){
                tc=TableOpérations.getColumn(TableOpérations.getColumnName(i));
  
                width=tc.getWidth();
      }
  </code></pre>