Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] TextArea, large file and setCaretPosition(0)
- From: ribchr00@xxxxxxxxxxxxxx (ribchr00@xxxxxxxxxxxxxx)
- Subject: [Advanced-java] TextArea, large file and setCaretPosition(0)
- Date: Fri, 22 Feb 2002 20:07:39 +0100 (MET)
Hi, To avoid the waiting for a large file to be loaded in a TextArea, when a certain number of lines is read, I send them to the TextArea. I would like the process running out in the background. The user should not notice anything. My problem is that the caret position always changes to the end when text is appended. I tried some ideas like a loop or a thread setting the caret position to 0 but it did not work. Has anybody a better idea? For any suggestion I would be glad. Cheers, richard
- Follow-Ups:
- [Advanced-java] TextArea, large file and setCaretPosition(0)
- From: Jose Ortiz
- [Advanced-java] TextArea, large file and setCaretPosition(0)
- Prev by Date: [Advanced-java] On the fly compile
- Next by Date: [Advanced-java] TextArea, large file and setCaretPosition(0)
- Previous by thread: [Advanced-java] Generating a html ImageMap from JTabbedPane
- Next by thread: [Advanced-java] TextArea, large file and setCaretPosition(0)
- Index(es):