title: Java Robot get focus of other application
body: <p>I have a java Robot program ,where it can type a word on notepad,word etc,.</p>
  
  <p>But the problem is i am <strong>not getting focus of window application</strong>, when i tried to enter the cursor in its textbox manually by using <strong>ALT-TAB</strong>, </p>
  
  <p>And the application is not available in the list ,while doing ALT-TAB , 
  also it is not visible in <strong>Task Manager-> Application tab</strong> 
  but, it is available with <strong>Processes tab of Task Manager</strong>.
  Is there any solution  to get focus of that windows application for keyPress using Java Robot.</p>
  
  <p>Also ,in some other PC's ,i am getting Clear Focus of the application when i put the cursor manually after running the java robot program. I have installed <strong>JDK1.6</strong> in all my PC's. It is not working only in my PC's.</p>
  
  <p>Thanks in advance!!</p>