The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Very Large Strings in JTextArea

Posted by Joe McDaniel on August 01, 2001 at 3:15 PM

JTextArea's PlainDocument seems to be the limitation in putting very large amounts of text into a JTextArea (over 9m characters, for instance). I believe the approach is to replace the AbstractDocument.Content with something that is very simple. I would like a bit of help in getting started on this. Basically, I need read-only so no inserts, deletes, etc -- a String model or byte[] should be sufficient.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us