← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #145455]: Error: Cannot call method from the event dispatcher thread

 

Question #145455 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/145455

Tsung-Hsiang Chang posted a new comment:
As the error messages suggested, you can't call Java Robot's methods (i.e. Sikuli's methods) in Swing's event handlers.
You should create another thread that listens to the commands or variables that are sent or changed in the event handlers.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.