Object[] message = new Object[text.length];
for (int i = 0; i < message.length; i++) {
if (text[i].contains("<a") == false)
message[i] = text[i];
else if (linkListener != null)
message[i] = new JLinkLabel(text[i], linkListener);
else {
String s = text[i];
s = StringUtils.findAndReplace(s, "<a>", "");
s = StringUtils.findAndReplace(s, "</a>", "");
message[i] = s;