debugger/enhanced_text_model/src/main/com/thesett/aima/logic/fol/wam/debugger/text/AttributeGridImpl.java
private void setColumnAttribute(AttributeSet attributes, int c)
    {
        if (c >= columnAttributes.size())
        {
            for (int i = columnAttributes.size(); i <= c; i++)
            {
                columnAttributes.add(null);
            }
        }

        columnAttributes.set(c, attributes);
    }
private void setColumnAttribute(AttributeSet attributes, int c)
    {
        if (c >= columnAttributes.size())
        {
            for (int i = columnAttributes.size(); i <= c; i++)
            {
                columnAttributes.add(null);
            }
        }

        columnAttributes.set(c, attributes);
    }
private void setColumnAttribute ( AttributeSet attributes , int c ) { if ( c >= columnAttributes . size ( ) ) { for ( int i = columnAttributes . size ( ) ; i <= c ; i ++ ) { columnAttributes . add ( null ) ; } } columnAttributes . set ( c , attributes ) ; }
Sets a column attribute, adding padding to the underlying array as necessary to ensure it is large enough to hold
the attribute at the requested position.

@param attributes The attribute to set.
@param c          The column to set it on.
Sets a column attribute adding padding to the underlying array as necessary to ensure it is large enough to hold the attribute at the requested position .