editorPane.setContentType("text/html");
editorPane.setFont(new Font("Segoe UI", 0, 14));
editorPane.setText("Hello World");
Ini tidak mengubah font teks. Saya perlu tahu cara mengatur font default untuk JEditorPane dengan HTML Editor Kit.
Sunting: