int rowSize = av.getEndRes() - av.getStartRes();\r
// Draw the rest of the panels\r
\r
- for(int ypos=2*av.charHeight, row=av.getEndRes()-rowSize;\r
+ for(int ypos=2*av.charHeight, row=av.startRes;\r
ypos <= getSize().height && row<av.alignment.getWidth();\r
ypos += av.chunkHeight, row+=rowSize )\r
{\r
int cWidth = (canvasWidth - LABEL_EAST -LABEL_WEST)/av.charWidth;\r
int cHeight = (av.getAlignment().getHeight() + 2)*av.charHeight;\r
\r
+ av.endRes = av.startRes + cWidth;\r
+\r
int endx = startRes+cWidth-1;\r
int ypos = 2*av.charHeight;\r
\r
int rowSize = av.getEndRes() - av.getStartRes();\r
// Draw the rest of the panels\r
\r
- for(int ypos=2*av.charHeight, row=av.getEndRes()-rowSize;\r
+ for(int ypos=2*av.charHeight, row=av.startRes;\r
ypos <= getHeight() && row<av.alignment.getWidth();\r
ypos += av.chunkHeight, row+=rowSize )\r
{\r
int cWidth = (canvasWidth - LABEL_EAST -LABEL_WEST)/av.charWidth;\r
int cHeight = (av.getAlignment().getHeight() + 2)*av.charHeight;\r
\r
+ av.endRes = av.startRes + cWidth;\r
+\r
int endx = startRes+cWidth-1;\r
int ypos = 2*av.charHeight;\r
\r