if (points == null)
{
g.setFont(new Font("Verdana", Font.PLAIN, 18));
- g.drawString(MessageManager.getString("label.calculating_pca")
+ awt2swing.Util.drawString(g, MessageManager.getString("label.calculating_pca")
+ "....", 20, getSize().height / 2);
}
else
if (tooltip != null)
{
ig.setColor(Color.red);
- ig.drawString(tooltip, toolx, tooly);
+ awt2swing.Util.drawString(ig, tooltip, toolx, tooly);
}
g.drawImage(img, 0, 0, this);
if (showLabels)
{
g.setColor(Color.red);
- g.drawString(
+ awt2swing.Util.drawString(g,
((SequencePoint) points.elementAt(i)).sequence.getName(),
x - 3, y - 4);
}