Hi I was wondering if anyone knew a code to get the handles of a java applet on a webbrowser control and set focus to it. Ex: I am making an experimental program that i want to automatically type. Well see when i make it so it sets focus to the webbrowser it doesnt set focus to the Java Applet so i cant sendkeys to it.

Please note this program is not going to be distrubuted and is only a test.