I noticed in the 2.4.2 changelog that one of the issues dealt with was that onStart method must not block event dispatching thread. This is great, and I hoped to be able to call a GUI from onStart but I still have a couple of errors:
When onStart execution is blocked by invokeAndWait, the error messages 'fireFeedbackMessageReceived: TO LARGE EXECUTION WAIT TIME: 5260, possible application problem or deadLock' start firing up on the console.
Ignoring the above error, what is the best method to use to block the return of the Runnable function so that it only returns when the user has finished with the GUI? I had assumed synchronized wait() and notify() would work so that the EDT is notifying the strategy thread when it is done, but I can't get it to work and I'm not sure if my understanding is correct anyway.
Thanks for your help!
|