void () { final ProjectTemplate template = getSelectedTemplate(); if (template == null || StringUtil.isEmpty(template.getDescription())) { myDescriptionPane.setText(""); return; } final String description = template.getDescription(); HtmlChunk.Element fontTag = HtmlChunk.tag("font").addRaw(description); if (!SystemInfo.isMac) { fontTag = fontTag.attr("face", "Verdana") .attr("size","-1"); } final HtmlChunk.Element descriptionHtml = new HtmlBuilder().append(fontTag).wrapWithHtmlBody(); myDescriptionPane.setText(descriptionHtml.toString()); }