Penguin
Blame: appletviewer(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of appletviewer(1) version 6, including all changes. View license author blame.
Rev Author # Line
4 PerryLorier 1 !!!NAME
5 JaredWigmore 2 ;:appletviewer - [Java] applet viewer
1 JaredWigmore 3
4
4 PerryLorier 5 !!!SYNOPSIS
5 JaredWigmore 6 ;:appletviewer [[ -debug ] [[ -encoding ''encoding_name'' ] [[ -J ''javaoption'' ] ''[url|URL]s'' ...
1 JaredWigmore 7
4 PerryLorier 8 !!!DESCRIPTION
9 ;:The appletviewer command runs Java applets outside of the context of a World Wide Web browser.
1 JaredWigmore 10
4 PerryLorier 11 ;:The appletviewer command connects to the document(s) or resource(s) designated by urls and displays each applet referenced by that document in its own window. Please note that if the documents referred to by urls do not reference any applets with the OBJECT, EMBED, or APPLET tag, appletviewer does nothing.
1 JaredWigmore 12
4 PerryLorier 13 ;appletviewer Tags: The appletviewer makes it possible to run a Java applet without using a browser. appletviewer ignores any [HTML] that is not immediately relevant to launching an applet. However, it recognizes a wide variety of applet-launching syntax. The [HTML] code that appletviewer recognizes is shown below. All other [HTML] code is ignored.
1 JaredWigmore 14
5 JaredWigmore 15 ;object:The object tag is the HTML 4.0 tag for embedding applets and multi-media objects into an [HTML] page. It is also an Internet Explorer 4.x extension to HTML 3.2 which allows IE to run a Java applet using the latest Java plugin from Sun.
4 PerryLorier 16 <object
1 JaredWigmore 17 width="pixelWidth"
18 height="pixelHeight"
19 >
20 <param name="code" value="yourClass.class">
21 <param name="object" value="serializedObjectOrJavaBean">
22 <param name="codebase" value="classFileDirectory">
23 ...
24 alternate-text
25 </object>
26
4 PerryLorier 27 ;Please note:
28 * appletviewer ignores the "classID" attribute, on the assumption that it is pointing to the Java plugin, with the value:
1 JaredWigmore 29
30 classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
4 PerryLorier 31 * appletviewer also ignores the "codebase" attribute that is usually included as part of the object tag, assuming that it points to a Java plugin in a network cab file with a value like:
1 JaredWigmore 32
33 codebase="http://java.sun.com/products/plugin/1.1/jinstall-11.cab#Version=1,1,0,0"
34
4 PerryLorier 35 * The optional codebase param tag supplies a relative URL that specifies the location of the applet class.
1 JaredWigmore 36
4 PerryLorier 37 * Either code or object is specified, not both.
1 JaredWigmore 38
4 PerryLorier 39 * The type param tag is not used by appletviewer, but should be present so that browsers load the plugin properly. For an applet, the value should be something like:
1 JaredWigmore 40
41 <param name="type"
42 value="application/x-java-applet;version=1.1">
43
44 or
45
46 <param name="type" value="application/x-java-applet">
47
6 AristotlePagaltzis 48 For a serialized object or !JavaBean, the type param value should be something like:
1 JaredWigmore 49
50 <param name="type"
51 value="application/x-java-bean;version=1.1">
52
53 or
54
55 <param name="type" value="application/x-java-bean">
56
4 PerryLorier 57 * Other param tags are argument values supplied to the applet.
1 JaredWigmore 58
4 PerryLorier 59 * The object tag recognized by IE4.x and the embed tag recognized by Netscape 4.x can be combined so that an applet can use the latest Java plugin from Sun, regardless of the browser that downloads the applet.
1 JaredWigmore 60
4 PerryLorier 61 * appletviewer does not recognize the java_code, java_codebase, java_object, or java_type param tags. These tags are only needed when the applet defines parameters with the names code, codebase, object, or type, respectively. (In that situation, the plugin recognizes and uses the java_ version in preference to the version that will be used by the applet.) If the applet requires a parameter with one of these 4 names, it may not run in appletviewer.
1 JaredWigmore 62
4 PerryLorier 63 ;embed:The embed tag is the Netscape extension to HTML 3.2 that allows embedding an applet or a multimedia object in an HTML page. It allows a Netscape 4.x browser (which supports HTML 3.2) to run a Java applet using the latest Java plugin from Sun.
64 <embed
1 JaredWigmore 65 code="yourClass.class"
66 object="serializedObjectOrJavaBean"
67 codebase="classFileDirectory"
68 width="pixelWidth"
69 height="pixelHeight"
70 >
71 ...
72 </embed>
73
4 PerryLorier 74 !!Please note that:
1 JaredWigmore 75
4 PerryLorier 76 * The object and embed tags can be combined so that an applet can use the latest Java plugin from Sun, regardless of the browser that down loads the applet. For more information, see the Java PlugIn HTML Specification
1 JaredWigmore 77
4 PerryLorier 78 * Unlike the object tag, all values specified in an embed tag are attributes (part of the tag) rather than parameters (between the start tag and end tag, specified with a param tag.
1 JaredWigmore 79
4 PerryLorier 80 * To supply argument values for applet parameters, you add additional attributes to the <embed> tag.
1 JaredWigmore 81
4 PerryLorier 82 * appletviewer ignores the "src" attribute that is usually part of an <embed> tag.
1 JaredWigmore 83
4 PerryLorier 84 * Either code or object is specified, not both.
1 JaredWigmore 85
5 JaredWigmore 86 * The optional codebase attribute supplies a relative [URL] that specifies the location of the applet class.
1 JaredWigmore 87
4 PerryLorier 88 * The type attribute is not used by appletviewer, but should be present so that browsers load the plugin properly. For an applet, the value should be something like:
1 JaredWigmore 89 <type="application/x-java-applet;version=1.1">...
90
91 or
92
93 <type="application/x-java-applet">...
94
4 PerryLorier 95 For a serialized object or JavaBean, the type param value should be something like:
1 JaredWigmore 96
97 <type="application/x-java-bean;version=1.1">...
98
99 or
100
101 <type="application/x-java-bean">...
102
4 PerryLorier 103 * The pluginspage attribute is not used by appletviewer, but should be present so that browsers load the plugin properly. It should point to a Java plugin in a network cab file with a value like:
1 JaredWigmore 104
105 pluginspage="http://java.sun.com/products/plugin/1.1/jinstall-11.cab#Version=1,1,0,0"
106
4 PerryLorier 107 ;applet: The applet tag is the original HTML 3.2 tag for embedding an applet in an HTML page. Applets loaded using the applet tag are run by the browser, which may not be using the latest version of the Java platform. To ensure that the applet runs with the latest version, use the object tag to load the Java plugin into the browser. The plugin will then run the applet.
1 JaredWigmore 108 <applet
109 code="yourClass.class"
110 object="serializedObjectOrJavaBean"
111 codebase="classFileDirectory"
112 width="pixelWidth"
113 height="pixelHeight"
114 >
115 <param name="..." value="...">
116 ...
117 alternate-text
118 </applet>
119
4 PerryLorier 120 ;Please note that:
1 JaredWigmore 121
4 PerryLorier 122 * Either code or object is specified, not both.
1 JaredWigmore 123
4 PerryLorier 124 * The optional codebase attribute supplies a relative URL that specifies the location of the applet class.
1 JaredWigmore 125
4 PerryLorier 126 * param tags supply argument values for applet parameters.
1 JaredWigmore 127
4 PerryLorier 128 ;app:The app tag was a short-lived abbreviation for applet that is no longer supported. appletviewer translates the tag and prints out an equivalent tag that is supported.
1 JaredWigmore 129
130 <app
131 class="classFileName" (without a .class suffix)
132 src="classFileDirectory"
133 width="pixelWidth"
134 height="pixelHeight"
135 >
136 <param name="..." value="...">
137 ...
138 </app>
139
4 PerryLorier 140 !!!OPTIONS
141 The following options are supported:
1 JaredWigmore 142
4 PerryLorier 143 ;-debug:Starts the applet viewer in the Java debugger, which debugs applets in the document. (See jdb(1).)
1 JaredWigmore 144
4 PerryLorier 145 ;-encoding ''encoding_name'': Specifies the input HTML file encoding name.
1 JaredWigmore 146
4 PerryLorier 147 ;-J ''javaoption'': Passes the string javaoption through as a single argument to java(1) which runs the compiler. The argument should not contain spaces. Multiple argument words must all begin with the prefix -J, which is stripped. This is useful for adjusting the execution environment or compiler memory usage.
1 JaredWigmore 148
4 PerryLorier 149 !!!SEE ALSO
5 JaredWigmore 150 For more information, see http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/ or search http://www.java.sun.com/ for "Java PlugIn [HTML] Specification"
151 %%%java(1) - runs a class file, instead of an [HTML] file with an applet
1 JaredWigmore 152 !User Submitted Notes
3 CraigBox 153
154 (To get a [[bracketed non-link], you have to use two brackets. Inspect this source.)
4 PerryLorier 155 >>>>>>> Other version
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 3 times)