svn changeset:808/svn branch:trunk
firstIndex = reqFirstRowToPaint;
if (rows + firstIndex > size()) rows = size() - firstIndex;
+ Object[][] cells = new Object[cols + CELL_FIRSTCOL][rows];
+ if (rows == 0)
+ return cells;
+
// Get first item id
if (items instanceof Container.Indexed)
id = ((Container.Indexed) items).getIdByIndex(firstIndex);
for (int i=0; i<firstIndex; i++) id = ((Container.Ordered) items).nextItemId(id);
}
- Object[][] cells = new Object[cols + CELL_FIRSTCOL][rows];
- if (rows == 0)
- return cells;
int headmode = getRowHeaderMode();
boolean[] iscomponent = new boolean[cols];
for (int i = 0; i < cols; i++)