Applet Closing Problem with JDK 6 Update 12