code: public void deleteAllRows() {
          rows.clear();
          rows.add(new Row(columns));
          curPosition.setLocation(0, 0);
          lastHeaderRow = -1;
      }
docs: Deletes all rows in this table.
  (contributed by dperezcar@fcc.es)