← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676268]: JavaxSwing Gui: Do.popAsk not working --- stuff must be run from EventQueue

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Since the Do.pop.... features itself internally use JavaxSwing features,
your implementation will not work this way.

A GUI implementation like this must be run from the Java EventQueue, but
I cannot tell you how this can be managed from a Jython script.

Another option might be, to run the stuff behind actionPerfomed = start
in a subprocess.

... and of course, you can completely switch to a plain Java
implementation.

For possible approaches consult the net/google with the keywords:
Java GUI SikuliX

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.