用html

String str="<html>"
str += "<font color=red>this is line 1</font>";
str += "<br>"
str += "<font color=blue>this is line 2</font>";
str += "<br>"
...........
str += "<font color=green>this is line n</font>";
str += "</html>"
label.setText(str);