how to automate navigation in an already compiled java applet

I'm trying to find a way to autonavigate to a certain location of a java applet.  The software is the Johnson Controls Metasys system.  It allows you to log into a web address, then it loads a java applet that you can visually see temperature controls and other such HVAC equipment.  What i would like to do is write a script, (java, vb) that will open up an internet explorer browser in the background, log into the site with proper username and password, and then navigate to the desired location.   THen i'd like to have an additional file (doesn't matter what it is) that when i activate it, it makes the current hidden browser appear.  I've attached the vbscript code that i currently have started.  Any help would be much welcomed.  THanks in advance!
Dim objShell, objIE
Set objShell = CreateObject("WScript.Shell")
Set objIE = CreateObject("InternetExplorer.Application")
objIE.navigate ""
wscript.sleep 10000 'wait 2 seconds
objShell.SendKeys "egan" 
objShell.SendKeys "{TAB}"
Wscript.Sleep 100
objShell.SendKeys "egan"
objShell.SendKeys "{ENTER}"
set objIE=Nothing
Set objShell=Nothing

Open in new window

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try using the Microsoft UI automation toolkit.  Description located here:

Alternatively, you might find it simplest to use one of the tools listed here for web testing.

Best of luck.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.