Mailing list - Entries of 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qftestJUI] Wait for idle?


  • Subject: [qftestJUI] Wait for idle?
  • From: Intellisys <maillist@?.com>
  • Date: Thu, 17 Feb 2005 11:07:01 -0800

Hi all,

In a typical Swing application, time-consuming tasks are performed in a
background thread (SwingWorker, etc.), and the GUI is updated by the
event-processing thread when the background thread finishes its operation.

We are trying to test such an operation by recording events. The problem is
that after the time-consuming operation is initiated, the recorded sequence
goes on to the next item while the background operation is executing. There
is no obvious component that one can "waitForComponent" for, in this case. Is
there some general way of causing the sequence to wait until the GUI is
updated?

Thanks,
-sc.



Videos Downloads Documentation Buy Free Trial