Umm, not too familiar with Java, but it's probably your best bet. What you want seems like browser control and what does that better than Java? (Sorry, I don't have an answer for you, just offering input on places to look.)