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