boolean (JTable table, Object value, int row, int column) { int readableRow = ScrollingUtil.getReadableRow(table, Math.round(table.getRowHeight() * 0.5f)); if (row < readableRow) { return false; } return row == 0 || readableRow == row || !Objects.equals(value, table.getModel().getValueAt(row - 1, column)); }