if (c >= table.getModel().getColumnCount()
if (col >= table.getModel().getColumnCount()
    protected void writeHeaderCell(Device d, STable table, SCellRendererPane rendererPane,                                   int c)        throws IOException    {        if (c >= table.getModel().getColumnCount()            && table.getSelectionMode() != SConstants.NO_SELECTION)            d.append("<th>&nbsp;</th>");        else {            SComponent comp = table.prepareHeaderRenderer(c);            d.append("<th>");            rendererPane.writeComponent(d, comp, table);            d.append("</th>");        }    }