← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #394139]: ExceptionInInitializerError being thrown when creating Screen instance

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Toolkit t = new Toolkit();

... for what is that? not needed for SikuliX.

t.lblPassFail.setText("Pass");

seems to be some Java-based GUI, that you try to operate from a thread,
that uses SikuliX features.

If you want to use SikuliX features in a GUI based environment
(EventDispatchQueue), you have to take care, that the SikuliX features
(Java AWT based) are run in another thread.

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