I need to create an rtf file using very basic java code. The reason the code needs to be basic is that it needs to run on a very cut down jdk and therefore will not be able to leverage the swing classes like the RTFEditorKit or any third party libraries like the one offered by Apache et al.
I seem to be able to create the text that is in an rtf but there seems to be a binary code at the end of the file that appears to be very important and I can't figure out how to write that code into the file.
Lastly, I am really talking about a .psw file that is used for PocketPC Pocket Word and PrintBoy (all PDA). The .psw file looks exactly like an rtf so I believe that if I can crack that nut, I will solve the .psw problem too.
Any help is greatly appreciated.