The JTable itself has no method for this - look instead to the TableModel which you have associated with the table. If you've used a DefaultTableModel, it has methods addRow() and insertRow() which should accomplish what you need. If you've used a Vector of Vectors instead of a TableModel, you can use the add() and insert() methods of Vector (be sure to create a new Vector to represent the row, since the table model is a Vector of Vectors). If you're creating your own class which implements TableModel, then it's up to you to provide a method to add/insert rows if you desire, depending on what sort of data structure you're using. (Note that the first two suggestions are likely easier.)
The
Java Tutorial has a page
here on how to use tables. I don't see any examples of adding / inserting rows there offhand, but they might be hiding.
Good luck.