Question #243428 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243428
RaiMan posted a new comment:
@ obiwan
dirty or not - at least interesting.
What is the trick, that avoids the swing exception?
BTW: I guess someFunction has to be called somewhere !?
… and I do not understand the while(1)
so formally this would be my version:
Boolean flag = false;
void someFunction() {
if (flag == true) {
// do your sikuli action
flag = false;
}
}
void actionPerformed(){
flag = true;
someFunction();
}
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp