code: private void updateTable()
    {
      try
      {
        tableModel = new DefaultTableModel(new String[]
          {
            "name", "id", "text", "tokens", "source_path"
          }, 0);
        tableList.setModel(tableModel);
  
        List<Map<String, Object>> stats = corpusAdmin.listCorpusStats();
  
        for(Map<String, Object> map : stats)
        {
          String[] rowData = new String[tableModel.getColumnCount()];
          for(int j = 0; j < rowData.length; j++)
          {
            String cName = tableList.getColumnName(j);
            if(map.containsKey(cName))
            {
              rowData[j] = map.get(cName).toString();
            }
            else
            {
              rowData[j] = "";
            }
          }
  
          tableModel.addRow(rowData);
        }
      }
      catch(Exception ex)
      {
        ImportStatus importStatus = corpusAdmin.getAdministrationDao().initImportStatus();
        importStatus.addException("list corpora exception", ex);
        new ExceptionDialog(importStatus).setVisible(true);
      }
    }
docs: GEN-LAST:event_btDeleteActionPerformed