Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
doubleshow opened this issue Jun 13, 2013 · 0 comments
Open

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

doubleshow opened this issue Jun 13, 2013 · 0 comments

Comments

@doubleshow
Copy link
Member

Original author: [email protected] (April 01, 2013 20:40:09)

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: http://code.google.com/p/sikuli-api/issues/detail?id=42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant