posted 15 years ago
Apart from java.awt.Robot, are there any other ways to generate mouse click event programatically? Say, something like creating the event object manually and dispatch it to the event queue.
I haven't tried, but it seems that the java.awt.Robot require physical movement of the mouse and the window brought into the foreground and the coordinate of the target component known. I am looking for a way to automate the client without having the client window brought to the foreground. Something like letting the user to work on other things in the foreground without worrying about the automated task.