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.

