title: Swing : JScrollPane doesn't refresh after changes in the structure of a JTable
body: <p>I have a JTable, associated with a DefaultTableModel, in a JPanel with a SpringLayout which is in a JScrollPane. </p>
  
  <p>When I modify the structure of the DefaultTableModel with the method below the JTable is refreshed but not the JScrollPane. I have to apply a second time this method to refresh the JScrollPane.</p>
  
  <pre><code>public void updateProjectView() {
      SwingProjectViewerController spvc = SwingProjectViewerController.
              getInstance();
      this.projectTitle.setText(spvc.getAcronym() + " : " + spvc.getTitle());
      Object[][] tableContent =
              spvc.getCriteria(CriteriaPreselectionController.getInstance().
              getCriteriaPreselection());
      Object[] columnsName = new Object[]{"Col1", "Col2"};
      this.tableModel.setDataVector(tableContent, columnsName);
      this.tableModel.fireTableStructureChanged();
  } 
  </code></pre>
  
  <p>Any help much appreciated!</p>