public void drawString(final String text, final int x, final int y, final Color color) {
drawString(text, x, y, font, color);
}
public void drawString(final String text, final int x, final int y, final Font font, final Color color) {
buffer.add(new RenderBuffer() {
public void render(Graphics graphics) {
int[] rgb = color.getRGB();
graphics.setFont(font);
graphics.setColor(new java.awt.Color(rgb[0], rgb[1], rgb[2]));
graphics.drawString(text, x, y);