← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676268]: Blank text for Do.popAsk

 

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

Description changed to:
By using the following code <UPDATED>:

from javax.swing import JButton, JFrame

def test():
   global button
   button = Do.popAsk("test", "Error", 10)
   if button == False:
    exit(1)

def start(event):
   test()

def testUI():
  frame = JFrame('test', size = (200,200))
  startbutton = JButton('start', actionPerfomed = start)
  frame.add(startbutton)
  frame.setVisible(True)

testUI()

======
Issue : text popAsk dialog box is blank. 
             When using Do.popAsk outside the Start(event) function, the text is displayed.

Any idea regarding this? I'm using 1.1.3

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.