public synchronized void removeAllRows() {
        int rowCount = getRowCount() - 1;
        System.out.println("hola");
        for (int i = rowCount; i >= 0; i--) {
            removeRow(i);
            System.out.println("removidas");
        }

    }