if (getComparisonValue(row1) == getComparisonValue(row))
subTable.addTeam(row.getTeam());
}
for (Match match : mainTable.getMatches()) {
if (subTable.getRow(match.getHomeTeam()) != null && subTable.getRow(match.getGuestTeam()) != null)
subTable.addMatch(match);
}
subTable.refresh();
if (mainTable.isShowSubTables()) {
ByteArrayOutputStream byteArrayStream = new ByteArrayOutputStream();
PrintStream printStream = new PrintStream(byteArrayStream);