\r
graphics = g;\r
\r
- drawBoxes(seq, start, end, x1, y1, (int) width, height);\r
+ drawBoxes(seq, start, end, x1, y1, width, height);\r
\r
fm = g.getFontMetrics();\r
- drawText(seq, start, end, x1, y1, (int) width, height);\r
+ drawText(seq, start, end, x1, y1, width, height);\r
}\r
\r
/**\r
int charOffset = 0;\r
char s;\r
\r
- float fwidth = width + ((float)av.charWidth/(float)width)/width;\r
-\r
-\r
- if(av.charWidth != (av.charWidth/width)*width)\r
- {\r
-\r
- }\r
-\r
// Need to find the sequence position here.\r
String sequence = seq.getSequence();\r
\r
\r
charOffset = (width - fm.charWidth(s)) / 2;\r
graphics.drawString(String.valueOf(s),\r
- charOffset + x1 + (int)(fwidth * (i - start)), (y1 + height) - pady);\r
+ charOffset + x1 + (int)(width * (i - start)), (y1 + height) - pady);\r
}\r
}\r
\r