Click on button in another program
<p>I want to create a program to control another program like a robot.</p>

<p>I have found a solution for C# with user32.dll, but I need one for Java.</p>

<p>Are there any methods similar to <code>FindWindow</code> and <code>SendMessage</code> in Java?</p>