boundaryColor = buildColor(r, g, b);
</BUG>
return this;
}
public TextPainter setForeground(final int r, final int g, final int b) {
<BUG>foregroundColor.dispose();
foregroundColor = buildColor(r, g, b);
</BUG>
return this;
}

italicFont = buildFont(name, height, SWT.ITALIC);
underlineFont = buildFont(name, height, SWT.UNDERLINE_LINK);
boldAndItalicFont = buildFont(name, height, SWT.ITALIC|SWT.BOLD);
return this;
}
public TextPainter setBoundaryColor(final int r, final int g, final int b) {
boundaryColor = ColorFactory.getColor(r, g, b);
return this;
}
public TextPainter setForeground(final int r, final int g, final int b) {
foregroundColor = ColorFactory.getColor(r, g, b);
return this;
}
