Say I have Java program running (not my program nor do I have source for it), How can I interact with the window with my another program?
What I am trying to do is to fill in information into a Java window when it opens (from a different program). So window X opens and then (this program) fills in the information into the field (lets call the field first name) and clicks send. (then waits for the X window to re-open) And it just keeps doing this... ( wait, fill, wait, fill.... )
Please include code (examples)