Hi,
I followed the example of background task and built a dialog with a Get task to
fetch data. The task can be ran successfully once and when run the second, it
failed with error message:
java.lang.IllegalStateException: this method can only be called from the AWT
event dispatch thread, and not from "Thread-11"
I checked with debugger and confirm that the second is still in
AWT-EventQueue-0, same as the first.
The dialog box was initialized from BXML file and called by a context menu item.
Any idea what's wrong?
Regards,
Brendan