Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2151

Re: JTextArea append meth

From "Lee Graba" <lee.graba@THRWHITE.remove-dii-this>
Subject Re: JTextArea append meth
Message-ID <13aiplh7bjo6157@corp.supernews.com> (permalink)
Newsgroups comp.lang.java.gui
References <75beacd59b9c4@uwe>
Date 2011-04-27 15:37 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
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@visi.com
=================

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

JTextArea append method d "Lee Graba" <lee.graba@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: JTextArea append meth "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
    Re: JTextArea append meth "Lee Graba" <lee.graba@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
      Re: JTextArea append meth "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
        Re: JTextArea append meth "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
          Re: JTextArea append meth "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
            Re: JTextArea append meth "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
              Re: JTextArea append meth "Nigel Wade" <nigel.wade@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
            Re: JTextArea append meth "Lee Graba" <lee.graba@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
            Re: JTextArea append meth "Tom Hawtin" <tom.hawtin@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
          Re: JTextArea append meth "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
        Re: JTextArea append meth "Lee Graba" <lee.graba@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
      Re: JTextArea append meth "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
      Re: JTextArea append meth "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000

csiph-web