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

Description changed to:
I'm trying to initialize Screen class inside Callable in Java but its somehow 
stuck until Callable throw a timeout exception.
If I tried the same setup using Thread/Runnable its running properly without 
any problem.
Is there anything I missed?

ExecutorService executor = Executors.newSingleThreadExecutor();
Future<Boolean> future = executor.submit(new Callable<Boolean>() {
                @Override
                public Boolean call() throws Exception {
                              Screen s  = new Screen();
                }
});

edit : added example code

-- 
You received this question notification because your team Sikuli Drivers
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

Reply via email to