Java tutorial
//package com.java2s; public class Main { public static String colorFont(String src, String color) { StringBuffer strBuf = new StringBuffer(); strBuf.append("<font color=").append(color).append(">").append(src).append("</font>"); return strBuf.toString(); } }