C
Click
Hello all,
I have a JEditorPane that display a RTF text. I would like to insert another
RTF text, from the disc, in the middle of the first one. So, looking on how
to do it, I have found the EditorKit.read() method. But this method asks for
a Document object, and I do not know how to get one from the JEditorPane.
Is EditorKit.read the correct method to use? If yes, then how can I get a
document object?
Thanks in advance, Francois
I have a JEditorPane that display a RTF text. I would like to insert another
RTF text, from the disc, in the middle of the first one. So, looking on how
to do it, I have found the EditorKit.read() method. But this method asks for
a Document object, and I do not know how to get one from the JEditorPane.
Is EditorKit.read the correct method to use? If yes, then how can I get a
document object?
Thanks in advance, Francois