Sunday, January 31, 2016

Show a temporary window in SikuliX

I can't find documentation in SikuliX to show a window or dialog and hide/close it after configured time. Since SikuliX uses Jython behind the scenes and Jython can access Java easily then showing a simple Swing window should be straightforward.

Sample code below demonstrates

Alternative solution as proposed by Raiman
Reference(s):
Github
https://github.com/haru-a8n/CodeSamples/blob/master/sikulix/ShowMessage.sikuli/ShowMessage.py
Jython GUI Sample applications
http://www.jython.org/jythonbook/en/1.0/GUIApplications.html
Swing Sample applications in Jython
https://wiki.python.org/jython/SwingExamples

No comments:

How to configure nfs server on QNX 7.1

How to configure nfs server on QNX 7.1 Target: QNX 7.1 running on a VM (VMware Workstation or VirtualBox). It is assummed that the targets ...