Hi All I am writing an applet based text editor, based on RTF Editorkit, i have got this pecular error when doing executing this statement.
rtf.read(fileInputStream1,ep.getDocument(),0) Where rtf is my RTFEditorKit instance. ep is my JTextPane and fileInputStream1 is the fileInputStream which i am using
The above line of code threw me an IOException saying the below 'Too many close-groups in RTF text'
I am unable to understand what could be the source of this error, or may be what will trigger this particular error.