code: public static void putAt(DefaultTableModel self, int index, Object row) {
          if (row == null) {
              // adds an empty row
              self.insertRow(index, (Object[]) null);
              return;
          }
          self.insertRow(index, buildRowData(self, row));
      }
docs: Allow DefaultTableModel to work with subscript operators.<p>
  <b>WARNING:</b> this operation does not replace the item at the
  specified index, rather it inserts the item at that index, thus
  increasing the size of the model by 1.<p>
  <p>
  if row.size &lt; model.size -&gt; row will be padded with nulls<br>
  if row.size &gt; model.size -&gt; additional columns will be discarded
  
  @param self  a DefaultTableModel
  @param index an index
  @param row   the row to insert at the given index
  @since 1.6.4