Well, I have Java enabled in IE9 and received the result
Java Applet failed to load. Is Java enabled in your browser?
Does not seem very reliable.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Last edited by Philip M; 09-27-2012 at 12:06 PM..