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


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

Re: Problem with Swing Ti

From "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this>
Subject Re: Problem with Swing Ti
Message-ID <nospam-8D7069.02061508082008@aioe.org> (permalink)
Newsgroups comp.lang.java.gui
References <b469becd-b3d6-49b4-8582-bce9c9296a08@x35g2000hsb.googlegroups.com>
Date 2011-04-27 15:47 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
In article 
<b469becd-b3d6-49b4-8582-bce9c9296a08@x35g2000hsb.googlegroups.com>,
 ifarberov@lsplab.com wrote:

> On Aug 7, 6:29 pm, Roedy Green <see_webs...@mindprod.com.invalid>
> wrote:
> > On Thu, 7 Aug 2008 10:24:41 -0700 (PDT), ifarbe...@lsplab.com wrote,
> > quoted or indirectly quoted someone who said :
> >
> > > have developed a Swing client that is comprised of 8 different
> > >screens. T
> >
> > All the Swing gui updating, all the Swing event handling, and all your
> > timer tasks are handled by a single thread. If any one of them takes a
> > long time or goes to sleep or waits for something, it will hold up the
> > entire assembly line.
> >
> [...]
> The problem is that GUI remains responsive, but Timer-driven events
> don't get fired for a while, and then they just resume.

You might verify that the actionPerformed() method of the Timer's 
designated ActionListener is being called with the Timer's nominal 
period. Using start(), stop(), restart(), setDelay() or setRepeats() in 
a subclass are all potential culprits. How do the subclasses deal with 
network latency in the normal course? Is your network experiencing 
unusual delays, as Daniele suggests?

-- 
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews

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

Re: Problem with Swing Ti "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
  Re: Problem with Swing Ti "ifarberov" <ifarberov@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
    Re: Problem with Swing Ti "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
    Re: Problem with Swing Ti "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
      Re: Problem with Swing Ti "ifarberov" <ifarberov@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
        Re: Problem with Swing Ti "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
          Re: Problem with Swing Ti "ifarberov" <ifarberov@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
            Re: Problem with Swing Ti "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
              Re: Problem with Swing Ti "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000

csiph-web