← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #204066]: Builing a GUI with Sikuli

 

Question #204066 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204066

    Status: Open => Answered

RaiMan proposed the following answer:
In a Sikuli script you can use any java/javax classes.

e.g.
import javax.swing.JFrame as JF

frame = JF() 
....
frame.pack()
frame.setVisible(true)

same goes for all the other stuff, but it is Python that you have to
write.

The other possibility is to write a Java class for the GUI and use it in
the script

import myGUI
myGUI.init()
options = myGUI.getOptions() # e.g. in a hash

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.