jugglingfool_readme.txt
来自「21天学通JAVA2(第三版)(专业参考版)」· 文本 代码 · 共 64 行
TXT
64 行
MakeApplet generates an Applet corresponding to a BeanBox layout. Thedata and classes needed for this Applet are packaged into a JAR file.The Applet itself is a Bean and it can be read back into the BeanBoxif desired.At construction time, the generated Applet uses serialization data only ifit contains beans with hidden-state. Note, other builders may use differenttechniques to reconstitute a compound bean.This directory contains the following files:JugglingFool.html A test html file for displaying the applet. It requires a JDK1.1-compliant browser. The APPLET tag references the JAR files described nextJugglingFool.jar This JAR file packages .class files and serialized data, if any, so it can be referenced by the HTML file. This JAR file depends on the JAR files listed next.support.jar This JAR file contains a few support classes that are used by the generated classes.buttons.jarjuggler.jar These JAR file(s) describe the Beans that were instantiated in the BeanBox and packaged into MyApplet.JugglingFool_files This directory contains source files, data, if any, and Makefiles. It is possible to do small adjustments to the generated sources and create a new JAR file.***************BROWSER SUPPORTThe generated applet requires full JDK1.1 support. The appletviewertool included in the JDK1.1 distributions can be used. Alternativelyyou can use the HotJava browser.The latest versions of Navigator and Internet Explorer onlypartially support JDK1.1.The failures in IE4.0 include lack of support for theClass.getResource() call. In particular, this means that the Jugglerbean (in juggler.jar) will not be able to show its image. IE4.0 doessupport getResourceAsStream() which is used by the generated Appletto acquire serialized information on its beans. Note that an Imagecan be created from an InputStream by first creating a byte arrayand then using Toolkit.createImage().Navigator 4.04 generates a security exception fromgetResourceAsStream() invocations. We expect this to be resolvedpromptlyHotJava 1.1, and 1.1.1 make a distinction in security checksbetween the URLs "file:/<dir>" and "file:///<dir>"; an appletdenoted by the first one will work but one using the second will not:it will raise a security exception while doing getResourceAsStream()
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?