>:IronMaster wrote:
>:> I can display an rtf document using the RTFEditorKit,
[quoted text clipped - 4 lines]
>:
>:/Thomas
Excellent advice that I must second.
All recent versions of Word support features that are beyond the
abilities of the existing RTFEditorKit. Some result in content simply
being ignored, while I've encountered some situations that cause
exceptions to be thrown in our application. There's been a longstanding
item in Sun's bug database requesting improved RTF support, but so far
nothing.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama
Trent - 31 Jul 2004 04:04 GMT
The other idea's are good.
My Java Law program loads RTF (I call them templates) files, replaces
a bunch of text, saves RTF file in a temp folder, sets at read only,
and then opens in the default WORD PROCESSOR (and they save as .doc or
.stx).
If you are using WORD, it does it own thing with RTF. While my
program works great using any other word processor to make a template
and saving the template as RTF, if doing in WORD, I get random
results.
Using .DOC is a nightmare unless you are getting the .net stuff, plus
it is not open source, so cost a lot.
If you just want to display RTF, nothing in Java has worked well that
I have tried. Maybe someone else has.
Have a Hoot!