← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #243428]: Click button in JAVA swing app to start sikuli

 

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

manolis posted a new comment:
my classes looks like this:
Class Test {
          private variables;
          Test() {
                       //initialize variables
                      }
         void method {
                       find
                       click
                      }
}
Class Gui extends JFrame{
        button
        button.addActionListener(new ActionListener() { 
                                                                actionPerformed (ActionEvent e ) { 
                                                                 call method infinite times until close the program or press another Stop button} 
                                                           });
}
Class Main {
             public static void main(String[] args) { Gui gui= new Gui(); }

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