* @see javax.swing.JTable#prepareRenderer(javax.swing.table.TableCellRenderer, int, int)
*/
public Component prepareRenderer(TableCellRenderer renderer, int row,
int column) {
Component component = super.prepareRenderer(renderer, row, column);
AssignmentEntry entry = getEntryInRow(row);
component.setForeground(Colors.BLACK);
if (entry != null) {
if (entry.isAssigned()) {
if (taskList.size() == entry.getAssignmentCount()) { // if all selected tasks are assigned to this resource, show it green
//if (column == 0)
component.setBackground(Colors.PALE_GREEN);
} else {
//if (column == 0)
component.setBackground(Colors.PALE_YELLOW);