To make JEditorPane read-only, you use method setEditable(false). ... In this example, we are also using JButton and JTextField components. JEditorPane.
確定! 回上一頁