public static final String createToolTip(String text, int width) {
        final String htmlColor = toHTMLColor(TOOLTIP_COLOR);
        final String toolTip = "<html><table width=" + width + " bgColor=" + htmlColor + "><tr><td><b>" + text + "</b></td></tr></table></table>";
        return toolTip;
    }
Return the hexadecimal color from a java.awt.Color

@param c the colour
@return hexadecimal string
starter/src/main/java/org/jivesoftware/openfire/launcher/GraphicUtils.java