PlainDocument « JTextArea « Java Swing Q&A





1. JTextArea/PlainDocument woes    coderanch.com

2. How to extend PlainDocument for an extremely large Jtextarea?    forums.oracle.com

I'm trying to extend the PlainDocument class in order to use an external file for saving an extremely large document that's being scrolled in a jtextarea. The document is read-only after it's created. My class uses its own insertString to capture the document as it's created, and sets the length to be passed back by the getLength method. However, the getText ...