el modelo tiene unos metodos para agregar renglones, aqui el codigo que uso para meter renglones en la tabla, lo chido de esto es que como modificas el modelo, la tabla se actualiza instantaneamente
Código PHP:
private void agregarBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_agregarBtnActionPerformed
if(Integer.parseInt(inventarioTF.getText()) < Integer.parseInt(cantidadTF.getText()))
JOptionPane.showMessageDialog(this,"Disculpe, no podemos venderle mas de lo que tenemos","Productos",JOptionPane.INFORMATION_MESSAGE);
else
{
valores = new String[5];
valores[0] = idProducto;
valores[1] = cantidadTF.getText();
valores[2] = productosCB.getSelectedItem().toString();
valores[3] = precioUnitarioTF.getText();
valores[4] = String.valueOf(Integer.parseInt(valores[1]) * Double.parseDouble(valores[3]));
GenerarFactura.subtotal += Double.parseDouble(valores[4]);
GenerarFactura.subtotalTF.setText(String.valueOf(GenerarFactura.subtotal));
GenerarFactura.modelo.addRow(valores);
}