public static AttributeSet getAttributes(Color color, String key) {
public static AttributeSet getAttributes(SFont font) {
    public static AttributeSet getAttributes(Color color, String key) {	AttributeSet attributes = new SimpleAttributeSet();	if (color != null)	    attributes.put(key, colorToHex(color));	return attributes;    }