Hi Enrico,

You either have to clear the JTextArea, or periodically remove() some text in order to avoid an eventual OutOfMemory error.

You can find a discussion here and some code that looks okay at a first glance:
http://forum.java.sun.com/thread.jspa?forumID=57&messageID=1802623

Cheers,
Ben

Enrico Goosen wrote:

Hi all,

 

Stupid question…do you have to clear a textarea (in a scrollpane) at some point if you’re using it to append status messages, or will it just continue scrolling happily?

 

 

Enrico Goosen

Software Developer

SAICOM TECHNOLOGY

TEL:       +2721 555 0726

FAX:     +2721 555 0821

CEL:     +2783 305 5676

EMAIL: [EMAIL PROTECTED]

 



-- 
Ben van der Merwe
[EMAIL PROTECTED]


Reply via email to