ui: use properly configured UIUtil.getHTMLEditorKit()

This commit is contained in:
Sergey Simonchik
2016-09-28 17:05:10 +03:00
parent 4c4e6e68d3
commit bb96f5b0be
@@ -620,7 +620,7 @@ public class SwingHelper {
textPane = new JEditorPane();
}
textPane.setFont(font != null ? font : UIUtil.getLabelFont());
textPane.setContentType(UIUtil.HTML_MIME);
textPane.setEditorKit(UIUtil.getHTMLEditorKit());
textPane.setEditable(false);
if (background != null) {
textPane.setBackground(background);