![]() |
Sponsored Link •
|
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:
The implemented AbstractDocument.Content used to store the characters is a character array. When the Java Virtual Machine dies it is because of something else. Although, 24 MB is a really large text file. Are you writing a hex editor? If so, then maybe you should write your own document. > 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
|