新版Java插件作出了一些改进,对Firefox3及以后的版本有很大帮助:
一个是可靠性方面的,Java插件现在独立于浏览器而直接在操作系统层面运行。如果某个java程序出现故障或者意想不到的问题, 以致该程序不能正常关闭,Java插件可以检测到并且妥善地处理,浏览器不会受到影响。
另一个是用户体验方面的,Java插件现在在后台载入,载入完毕以后再显示出来,其间浏览器本身的响应能力不会受到影响。
之前大家对Java插件一个很大的抱怨就是其对浏览器性能的拖累,这次的改进在很大程度上解决了这个问题。同时,另一个有意思的变化是,现在可以通过一个image参数以动画效果载入gif:
<applet archive="large_archive.jar" code="MyApplet" width="300" height="300"> <!-- Use an animated GIF as an indeterminate progress bar while the applet is loading --> <param name="image" value="animated_gif.gif" /> <!-- Turn off the box border for better blending with the surrounding web page --> <param name="boxborder" value="false" /> <!-- Center the image in the applet's area --> <param name="centerimage" value="true" /> </applet>
原载:http://robert.accettura.com/archives/2008/02/24/new-java-plugin/ ,有删节。
- 转载请注明:转自 新版Java插件 / Sociz 日志 -