Search:

Type: Posts; User: rocket

Search: Search took 0.21 seconds.

  1. Re: ActionListener runs from timer appears to run again before first one is done

    Well, you got me! I pretty much gave up getting an answer here, so I just posted it over there. I didn't realize the java world was so small. That was pretty quick :)
  2. Re: ActionListener runs from timer appears to run again before first one is done

    Well, the whole program is in about 150 java files, probably about 50k lines of code. It's built using an xml file with something called ant. I downloaded it and followed the build from source...
  3. question on repeating timers, and calling doClick from one

    If I set up a repeating timer, with one ActionListener, as shown below, can the ActionListener be re-entered before the prior invocation has finished?

    In the below code, with a 50ms repeat...
  4. Re: ActionListener runs from timer appears to run again before first one is done

    The code for my ActionListener and timer is in the program's main, and I would guess that only gets executed one time. There is a second Timer (that I didn't write), but it would appear to have it's...
  5. Re: ActionListener runs from timer appears to run again before first one is done

    (I think you replied before I finished editing my last post)

    That's a problem for me, as I really haven't the java experience to be able to write a complete program with a gui and all. And as I...
  6. Re: ActionListener runs from timer appears to run again before first one is done

    The ActionListener calls a doClick which does quite a bit of work, including opening a tcp connection and sending a command. If doClick waits for everything to get done in the button's action code...
  7. ActionListener runs from timer appears to run again before first one is done

    Below is a fragment of code I'm using (simplified for this post).

    I'm having a problem wherein it appears that my ActionListener runs again before the last one had completed. There are two...
Results 1 to 7 of 7