t;使用任何Java1.5,或更高版本",这样Java plug-in插件将使用JER1.5版本,这样将使用JRE1.5系统最新的版本,如果选择"JRE1.5.0"将保持插件版本不变,则不会去更新。
5.点击"转换(C)…"开始转换,原始的TypeTrainApplet.html被备份到备份文件夹下,在原位置的TypeTrainApplet.html已经被转换的结果覆盖。
提示:
如果你想使用JRE1.4或JRE1.3作为插件,则需要使用JDK1.4或JDK1.3所带的转换器进行转换。
打开转换后的TypeTrainApplet.html文件内容如下所示:
代码清单 11 转换后的TypeTrainApplet.html
1. <html>
2. <head>
3. <meta http-equiv="Content-Type" content="text/html; charset=GBK">
4. <title>HTML Test Page</title>
5. </head>
6. <body>game.TypeTrainApplet will appear below in a Java enabled browser.
7. <br>
8. <!--"CONVERTED_APPLET"-->
9. <!-- HTML CONVERTER -->
10. <object
11. classid = "clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA"
12. codebase =
13. "http://java.sun.com/update/1.5.0/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0"
14. WIDTH = "400" HEIGHT = "400" NAME = "TestApplet" ALIGN = "middle" VSPACE =
15. "0" HSPACE = "0" >
16. <PARAM NAME = CODE VALUE = "game.TypeTrainApplet.class" >
17. <PARAM NAME = CODEBASE VALUE = "." >
18. <PARAM NAME = ARCHIVE VALUE = "game.JAR" >
19. <PARAM NAME = NAME VALUE = "TestApplet" >
20. <param name = "type" value = "application/x-java-applet;jpi-version=1.5">
21. <param name = "scriptable" value = "false">
22. <PARAM NAME = "stepLen" VALUE="2">
23. <PARAM NAME = "stepInterval" VALUE="50">
24. <PARAM NAME = "columnCount" VALUE="10">
25. <PARAM NAME = "generateInterval" VALUE="500">
26.
27. <comment>
28. <embed
29. type = "application/x-java-applet;jpi-version=1.5" \
30. CODE = "game.TypeTrainApplet.class" \
31. JAVA_CODEBASE = "." \
32. ARCHIVE = "game.JAR" \
33. NAME = "TestApplet" \
34. WIDTH = "400" \
35. HEIGHT = "400" \
36. ALIGN = "middle" \
37. VSPACE = "0" \
38. HSPACE = "0" \
39. stepLen ="2" \
40. stepInterval ="50" \
41. columnCount ="10" \
42. generateInterval ="500"
43. scriptable = false
44. pluginspage = "http://java.sun.com/products/plugin/index.html#download">
45. <noembed>
46.
47. </noembed>
48. </embed>
49. </comment>
50. </object>
51.
52. <!--
53. <APPLET CODE = "game.TypeTrainApplet.class" JAVA_CODEBASE = "." ARCHIVE
54. = "game.JAR" WIDTH = "400" HEIGHT = "400" NAME = "TestApplet" ALIGN =
55. "middle" VSPACE = "0" HSPACE = "0">
56. <PARAM NAME = "stepLen" VALUE="2">
57. <PA
|