← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #208543]: How to track the status of insatallation of an Application using Sikuli

 

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

RaiMan proposed the following answer:
--- how to create popup using sikuli script in java..

import org.sikuli.script.SikuliScript;

ss = new SikuliScript()

then you can use these two:

(from the code SikuliScript)

public void popup(String message, String title){
      JOptionPane.showMessageDialog(null, message, 
                                    title, JOptionPane.PLAIN_MESSAGE);
   }

   public void popup(String message){
      popup(message, "Sikuli");
   } 

as:

ss.popup(....)

I put the code here, so you can see, that internally JOptionPane is used, to finally make the popup.
So you could use it directly and might have some more options.

BTW: if you have new questions, pls. post a new question an that stuff.

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