Yes, that's a known problem with JTables. By default it displays 20 rows, whatever the actual content.
If you want to change that you have to use code like follows:
static public void setTableHeight(JTable table, int rows)
{
    int width = table.getPreferredSize().width; 
    int height = rows * table.getRowHeight(); 
    table.setPreferredScrollableViewportSize(new Dimension(width, height));
}
Then just call setTableHeight(5); if you want 5 rows visible by default.
Note: this is Java, you may have to adapt it slightly to Groovy.
This is something I described in my blog last month (item #7).