Many thanks Ben.

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ben van der Merwe
Sent: 27 January 2006 02:51 PM
To: [email protected]
Subject: [CTJUG Forum] Re: Swing Question

 

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