coping rtf-content from a jeditorpane to another jeditorpane?
posted 14 years ago
Hi, i've got two jeditorpanes with bounded rtfeditorkits. now i want to copy the rtf-content from the pane where you have to input your text to the overview editorpane(rtf bounded). the form looks like the icq message dialog. what i have to have to do - i know it works with inputpane.selectAll(), inputpane.cut(), overviewpane.paste(), but that is a bad way. Maybe there is a solution by using streams in the rtfeditorkits(methods: write and read). I get nuts with that. Thanks in advance regards