K
korcs
Hi,
I use a JTextArea instance in my app to visualize program outputs.
I have a LOT of output, and I have experienced, that if I use
JTextArea instead of TextArea, after a certain time it does not take
any more appends, so my threads which are trying to use the JTextArea
to output something are stopping (start waiting for ethernity).
Does anybody have an idea how could I avoid this? I suppose, that one
could check after or before each append the size of the contents and
clear it, if it is over a certain limit...
Is the JTextArea so much different in managing content than the
TextArea?
Best,
korcs
I use a JTextArea instance in my app to visualize program outputs.
I have a LOT of output, and I have experienced, that if I use
JTextArea instead of TextArea, after a certain time it does not take
any more appends, so my threads which are trying to use the JTextArea
to output something are stopping (start waiting for ethernity).
Does anybody have an idea how could I avoid this? I suppose, that one
could check after or before each append the size of the contents and
clear it, if it is over a certain limit...
Is the JTextArea so much different in managing content than the
TextArea?
Best,
korcs