Re: JTextArea append method doesn't always append
- From: Lee Graba <leegraba@xxxxxxxx>
- Date: Thu, 26 Jul 2007 22:29:52 -0500
Andrew Thompson wrote:
Lee Graba wrote:
Is this a bug in JTextArea, or is this some known behavior?
......Perhaps you are strangling the Swing thread
so it can't keep up.
...It seems to be
dropping some of the messages that are appended.
I will suggest something I thought when I first saw this
thread. "If you go to the effort of preparing an SSCCE*
that demonstrates this behaviour, you might get more
help."
An SSCCE is a specific type of code, that is self
contained, and can demonstrate a problem for others.
This might be difficult to achieve for this problem, since
you maintain it is with an existing, complex system,
but please read the SSCCE document before you
abandon the concept. It might simply require a 'main'
class for the UI with a text area, itself creating several
instances of a single Thread based update class.
Your claim that the GUI class is somehow dropping the
changes, is a hard one to swallow. An SSCCE that
demonstrates the same behaviour might convince others.
* <http://www.physci.org/codes/sscce.html>
BTW - you have searched the *bug* *database* **, right?
All the above is based on the (rash) assumption that your
code does not simply expose an existing bug.
** <http://bugs.sun.com/bugdatabase/index.jsp>
Yeah, a short example of the failure is certainly desirable. I'll see if I
can produce one.
--
=================
Lee Graba
leegraba@xxxxxxxx
=================
.
- References:
- JTextArea append method doesn't always append
- From: Lee Graba
- Re: JTextArea append method doesn't always append
- From: Roedy Green
- Re: JTextArea append method doesn't always append
- From: Lee Graba
- JTextArea append method doesn't always append
- Prev by Date: Re: JTextArea append method doesn't always append
- Next by Date: JScrollBar problems
- Previous by thread: Re: JTextArea append method doesn't always append
- Next by thread: Re: JTextArea append method doesn't always append
- Index(es):
Relevant Pages
|
|