public class CellRendererEjemplo extends DefaultTableCellRenderer
{
public Component getTableCellRendererComponent
(JTable table, Object value, boolean isSelected,
boolean hasFocus, int row, int column)
{
Component cell = super.getTableCellRendererComponent (table, value, isSelected, hasFocus, row, column);
cell.setBackground(Color.BLUE);
}
return cell;
}
}