@Override
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
{
Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
if (value != null && value instanceof LastRowAggregatedValue)
{
c.setBackground(bgColorLastRow);
c.setForeground(fgColorLastRow);
} else
c.setBackground(bgColorMainTable);
((JComponent) c).setBorder(BorderFactory.createLineBorder(bgBorderColorMainTable));
return c;
}
}