RTF editting

Help! I have a system that needs to share formatted text with it's Windows counterpart (written in Delphi). RTF is the obvious choice. I can share my RTF file (for example) between varius Windows pgms (Word, Ami Pro, Wordpad etc) so I know it's well formed. But I cannot read it into a JEditorPane (I use the setPage() method with a URL pointing to this file, which is available from the web server). I get the error:

java.io.IOexception: RTF is an 8-bit format

at

javax.swing.text.rtf.RTFEditorKit.read(RTFEditorKit.java:124)

Can ANYONE out there shed some light on this - and heas anyone sucesfully read in RTF docs into a JEditorPane?

[677 byte] By [JustinThomas] at [2007-9-26 2:15:11]
# 1
Hi,there is a lecture with working code snippet forloading a RTF into a JEditorPane at: http://www.cs.cf.ac.uk/Dave/HCI/HCI_Handout_CALLER/node123.htmlbye,Martin Freund
hotshotMF at 2007-6-29 9:12:02 > top of Java-index,Archived Forums,Swing...