Skip to main content

Posts

Showing posts from December, 2013

How to fix Chrome frozon issue when loading applet?

I suffered a lot by chrome when embedding the applet into page during these days. Fortunately, I figure out what the tricky parts of it:) 1) Firstly, we need get rid of all security issues which should be addressed by jarsigner with the following MANIFEST.MF Manifest-Version: 1.0 Application-Library-Allowable-Codebase: * Caller-Allowable-Codebase: * Codebase: * Permissions: all-permissions Archiver-Version: Plexus Archiver Application-Name: XXXXX Build-Jdk: 1.7.0_45 Built-By: lzheng Created-By: Apache Maven 3.0.4 Here is the reference for all applet jar manifest:  http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html If you know nothing about jarsigner, the chrome frozen issue is out of your ability to resolve it:) 2) After that, the code work perfectly on firefox but randomly freeze the chrome browser which depress me a lot. Is it a chrome issue? yes and no. Chrome just didn't handle the exceptions correctly when we call applet method