if (row < objects.size()) {
Object value = objects.get(row);
if (col < writeFunctors.size()) {
Functor setMethod = writeFunctors.get(col);
if (setMethod != null) {
setMethod.invoke(value, new Object[] { cellValue });
super.fireTableDataChanged();
}
}
else if(headers.size() == 1)
{