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


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

Re: JTextArea append meth

From "tar" <tar@THRWHITE.remove-dii-this>
Subject Re: JTextArea append meth
Message-ID <ymiwswgbdqy.fsf@blackcat.isi.edu> (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 <leegraba@visi.com> writes:

> Also, when log messages
> don't show up in the JTextArea, it isn't always the last one.  Sometimes
> one is missing, but a later log message does show up.  It seems to be
> dropping some of the messages that are appended.

This sounds like it might be a threading issue, despite the fact that
append is supposed to be thread safe.

Do the "dropped" messages ever appear later, out of order?
Do they appear as expected if you also write them, say to System.out?

-- 
Thomas A. Russ,  USC/Information Sciences Institute

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