g.drawImage(fadedImage, 0, y - row.height, imgWidth, y, 0, y
- row.height, imgWidth, y, annotationPanel);
g.setColor(Color.black);
- // g.drawString("Calculating "+aa[i].label+"....",20, y-row.height/2);
+ // awt2swing.Util.drawString(g, "Calculating "+aa[i].label+"....",20, y-row.height/2);
continue;
}
* annotationPanel.imgWidth, y, annotationPanel);
*
* g.setColor(Color.black); //
- * g.drawString("Calculating Conservation.....",20, y-row.height/2);
+ * awt2swing.Util.drawString(g, "Calculating Conservation.....",20, y-row.height/2);
*
* continue; } else if (annotationPanel.av.updatingConservation &&
* aa[i].label.equals("Quality")) {
* row.height, annotationPanel.imgWidth, y, 0, y - row.height,
* annotationPanel.imgWidth, y, annotationPanel);
* g.setColor(Color.black); // /
- * g.drawString("Calculating Quality....",20, y-row.height/2);
+ * awt2swing.Util.drawString(g, "Calculating Quality....",20, y-row.height/2);
*
* continue; }
*/
if (column == 0 || row.graph > 0)
{
- g.drawString(displayChar, (x * charWidth) + charOffset, y
+ awt2swing.Util.drawString(g, displayChar, (x * charWidth) + charOffset, y
+ iconOffset);
}
else if (row_annotations[column - 1] == null
.equals(row_annotations[column - 1].displayCharacter) || (displayChar
.length() < 2 && row_annotations[column].secondaryStructure == ' ')))
{
- g.drawString(displayChar, x * charWidth + charOffset, y
+ awt2swing.Util.drawString(g, displayChar, x * charWidth + charOffset, y
+ iconOffset);
}
g.setFont(ofont);
{
final String codonTranslation = ResidueProperties
.codonTranslate(new String(dc));
- colour = profcolour.findColour(codonTranslation.charAt(0),
+ colour = profcolour.findColourSeq(codonTranslation.charAt(0),
column, null);
}
else
{
- colour = profcolour.findColour(dc[0], column, null);
+ colour = profcolour.findColourSeq(dc[0], column, null);
}
g.setColor(colour == Color.white ? Color.lightGray : colour);