Support for testing Java Applets.