• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

JTextPane / JEditorPane / JTextArea with huge data

 
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!