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


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

Re: JTextArea append meth

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

Show all headers | View raw


  To: comp.lang.java.gui
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>

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200707/1

---
 * 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