{
boolean cellChanged = heatMap.get( i );
if ( cellChanged )
{
// Cell is changed...
final ITextCell cell = cells[i];
final int x = ( i % columns ) * cw;
final int y = ( i / columns ) * ( ch + ls );
final Rectangle rect = new Rectangle( x, y, cw, ch + ls );
canvas.setColor( convertToColor( cell.getBackground(), m_colorScheme.getBackgroundColor() ) );
canvas.fillRect( rect.x, rect.y, rect.width, rect.height );
final String txt = Character.toString( cell.getChar() );
AttributedString attrStr = new AttributedString( txt );
cursorColor = applyAttributes( cell, attrStr, font );
AttributedCharacterIterator characterIterator = attrStr.getIterator();