dmark1021 / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

Type Java API does not work when used in Java swing #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I am trying to use Sikuli stand alone in Java swing. When i was calling the 
sikuli java api directly i was getting an exception. After doing some google i 
found that i need to use the apis in thread. So i created a seperate thread for 
each sikuli api like click and type and used it in bloacking queue. When i call 
the new type functions say TypeAction by clicking a button in java swing the 
function stops abruptly in the sikuli type function. I dont get any exception 
or error. When i call the new TypeAction function via main() the entire 
function works as expected. In the new TypeAction function i search of nearby 
50px region and then click and type. For click i use the first argument of 
sikuli's type function.

What is the expected output? What do you see instead?
Type api works as expected

What version of the product are you using? On what operating system?
RC3

Please provide any additional information below.

Original issue reported on code.google.com by dj.onl...@gmail.com on 1 Apr 2013 at 8:40