sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13521
[Question #210574]: Sikuli Java API - Error when calling com.sun.awt.AWTUtilities.setWindowOpaque
New question #210574 on Sikuli:
https://answers.launchpad.net/sikuli/+question/210574
Hi Sikuliers,
I am having problem using Sikuli API within Eclipse. I get this error when running the HelloWorldExample.java:
Exception in thread "main" java.lang.IllegalArgumentException: The window must use a translucency-compatible graphics configuration
at com.sun.awt.AWTUtilities.setWindowOpaque(AWTUtilities.java:378)
at org.sikuli.api.visual.ScreenOverlayWindow.<init>(ScreenOverlayWindow.java:22)
at org.sikuli.api.visual.LabelOverlay.<init>(LabelOverlay.java:16)
at org.sikuli.api.visual.ScreenPainter.label(ScreenPainter.java:34)
at org.sikuli.api.visual.ScreenPainter.label(ScreenPainter.java:29)
at org.sikuli.api.examples.HelloWorldExample.main(HelloWorldExample.java:33)
In general, the error occurs whenever com.sun.awt.AWTUtilities.setWindowOpaque is called.
Configuration:
Ubuntu 12.04
JDK6 (Oracle)
GNOME2 (separably installed)
Eclipse (Maven plugin installed)
OpenCV2.4.2
Any thoughts?
Thanks,
Houman
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.