}
if (!nodeLabel.equals(""))
{
- g.drawString(nodeLabel, xstart + 2, ypos - 2);
+ awt2swing.Util.drawString(g, nodeLabel, xstart + 2, ypos - 2);
}
String name = (markPlaceholders && node.isPlaceholder()) ? (PLACEHOLDER + node
g.fillRect(xend + 10, ypos - charHeight + 3, charWidth, charHeight);
g.setColor(Color.white);
}
- g.drawString(name, xend + 10, ypos);
+ awt2swing.Util.drawString(g, name, xend + 10, ypos);
g.setColor(Color.black);
}
else
if (!nodeLabel.equals(""))
{
- g.drawString(nodeLabel, xstart + 2, ypos - 2);
+ awt2swing.Util.drawString(g, nodeLabel, xstart + 2, ypos - 2);
}
}