mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ui: use properly configured UIUtil.getHTMLEditorKit()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user