editorPane.setContentType("text/html");
editorPane.setFont(new Font("Segoe UI", 0, 14));
editorPane.setText("Hello World");
สิ่งนี้จะไม่เปลี่ยนแบบอักษรของข้อความ ฉันต้องการทราบวิธีตั้งค่าแบบอักษรเริ่มต้นสำหรับ JEditorPane ด้วย HTML Editor Kit
แก้ไข: