open a SWING GUI by running a Sikuli script
Hi,
I'm using the last sikuli version (1.0.0 - May 2013) running on a Windows7 - 64 bit with Java jre-7u21-
I'm trying to run a sikuli script by using the command line :
"%SIKULI%
Where Myscript.sikuli contains :
from javax.swing import JFrame # The JFrame is a top-level window with a title and a border
class Example(JFrame):
def __init__(self):
super(Example, self).__init__()
self.initUI()
def initUI(self):
self.
self.
self.
self.
self.
if __name__ == '__main__':
Example()
The problem is that no GUI appears on the screen and there's no message on the standard output :
[info] Exit code: 0
that's all...
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: