title: Swing GUI : Scrolling not updated when a JTable gets bigger
body: <p>I got a Java Swing GUI and got a problem with a <code>JTable</code> in a <code>JScrollPane</code>. For some reason, when the rows of the table model are increased during the program execution, the <code>JScrollPane</code> isn't updated - that is, if the rows are increased so that the height of the table is over the height of the scroll view, the scroll panes aren't updated as supposed. (The new rows are shown at the screen as expected). If the window is resized, scrolling is updated as expected.</p>
  
  <p>The vertical scrolling policy is <code>VERTICAL_SCROLLBAR_AS_NEEDED</code>, table models <code>fireTableDataChanged</code> is called..</p>
  
  <p>Unfortunately the code's a bit complex so I can't provide an code sample causing the problem. But thought to ask if somebody got some ideas straight..</p>
  
  <p><strong>EDIT:</strong> Still a bit more confusing : horizontal scrolling policy is <code>HORIZONTAL_SCROLLBAR_AS_NEEDED</code>, and if the table width if over the view width (that is, the horizontal scrollbar is used), this problem doesn't occur...</p>
  
  <p><strong>EDIT2:</strong> The problem isn't that the table should be scrolled but that the scrollbar's aren't activated as they should.</p>