Ask JTable to display empty rows

I have a JTable(with my own TableModel) that is placed in a fixed size JPanel. If there are more than 10 rows of data, a scollingbar will be displayed. If there are less than 10 rows of data, some empty rows will be displayed. I can't figure out how to ask JTable to display some empty rows when there are less than 10 rows of data available. How do people do that in general? I don't want to insert some empty data items to my tableModel, since it may give me troubles when I come to manipulate the tablemodel. Some code samples will helpful. Thank you.

[563 byte] By [kpbigeyes] at [2007-9-30 21:06:30]
# 1
Change the getRowCount() method to return the minimum of 10 or the actual number of rowsChange the getValueAt(...) method to return null when the row is greater than the actual number of rows.
camickr at 2007-7-7 2:38:10 > top of Java-index,Desktop,Core GUI APIs...