sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48614
Re: [Question #674142]: Java look and feel inconsistent
Question #674142 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/674142
Status: Open => Answered
RaiMan proposed the following answer:
Apparently you are using an older version of SikuliX.
In the current version in both cases (starting the SikuliX IDE GUI or
running a script from commandline)
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
(org.sikuli.ide.Sikulix::prepareMac())
is only used once and only on Mac systems (I doubt, it is necessary at
all ;-)
So you might test with the new 1.1.4.
If this does not help, the only way to get it right for you, is to run your scripts using Jython directly from commandline and have sikulixapi.jar on Java classpath.
... but the convenience (https://github.com/RaiMan/SikuliX-2014/wiki/Jython-in-IDEs-like-Eclipse-or-running-it-from-commandline) does only work up to Java 8.
With Java 9+ you have to find your own way.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.