@Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col) {
        Component comp = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, col);

        EditTableDataModel model =  (EditTableDataModel)table.getModel();

        if (model.isChanged(row)) {
            comp.setBackground(Color.gray);
        } else {
            if (!isSelected) {
                comp.setBackground(null);
            }
        }

        return (comp);
    }