aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JTextPane / JEditorPane / JTextArea with huge data Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "JTextPane / JEditorPane / JTextArea with huge data" Watch "JTextPane / JEditorPane / JTextArea with huge data" New topic
Author

JTextPane / JEditorPane / JTextArea with huge data

Sriram Viswanadham
Greenhorn

Joined: May 20, 2002
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTextPane / JEditorPane / JTextArea with huge data
 
Similar Threads
JTextPane problem
Save a Styled Document as flat file
too much text in textpane
hit ente key problem
how to print the contents of jtextpane.