public Component getTableCellRendererComponent (JTable table, Object value,boolean isSelected, boolean hasFocus, int row, int column){
SpreadSheetModel model = (SpreadSheetModel) table.getModel();
Object rowObject = model.getObjectInRow(row);
Field field = model.getFieldInColumn(column+1);
JComponent c = new LookupField(field,value).getDisplay(); // not bothering with button for now
return c;
}