sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29310
Re: [Question #257799]: sikuli click doesn't work using imageIcon
Question #257799 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/257799
Status: Open => Answered
RaiMan proposed the following answer:
As long as you work inside Eclipse, the images are stored in the
filesystem and can be loaded as regular image files.
If you pack them together as a runnable jar, this does not work anymore,
since up to version 1.0.1 image files cannot be used from inside jars.
They have to reside in the file system somewhere outside the jar.
Beginning with version 1.1.0 (see http://sikulix.com) it is possible to let an image path entry point to a folder inside a jar, that can be found via a classname on the class path (always possible for the running jar).
How to use: see javadocs class ImagePath
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.