Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Andrew Thompson" Subject: Re: JTextArea append meth Message-ID: <75beacd59b9c4@uwe> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: <13afoq6rvbud506@corp.supernews.com> References: <13afoq6rvbud506@corp.supernews.com> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 48 Date: Wed, 27 Apr 2011 15:37:25 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918645 96.60.20.240 (Wed, 27 Apr 2011 10:37:25 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:37:25 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2139 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. * 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. ** -- 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