Im new to the JAVA. Just I want to create another robot in window as another thread in following code. I tried to done this using thread.sleep but I unable to complete the task.