• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextPane / JEditorPane / JTextArea with huge data

 
Sriram Viswanadham
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!