JTextPane / JEditorPane / JTextArea with huge data
Joined: May 20, 2002
hi, i've come across a typical problem. I come acorss sopme xml documents in my applications which i gotta display. I'm using JTextPane for the same. But when the document size is > 40KB, the application hangs while rendering the data in the JTextPane. The problem comes when the data is not formatted i.e. all xml come as a string without any "/n". For formatted xml (like you c it in IE or any Editor) the problem doesn't arise. Any ideas why this is happening ? Any work arounds ? Thanx.