return ui;
}
public void processUI(TComponent component, BufferedImage[] ui) {
TLabel label = (TLabel) component;
String[] color = new String[] {
"Text Color", "Text Disabled Color"
};
String[] font = new String[] {
"Text Font", "Text Disabled Font"
};
String[] document = GraphicsUtil.parseString(label.getText());
for (int i = 0; i < 2; i++) {
Graphics2D g = ui[i].createGraphics();
GraphicsUtil.drawString(g, document, label.getWidth(), label
.getHeight(), (GameFont) this.get(font[i], component),
(Color) this.get(color[i], component), (Integer) this.get(
"Text Horizontal Alignment Integer", component),
(Integer) this.get("Text Vertical Alignment Integer",
component), (Insets) this.get("Text Insets",