Java Reference
In-Depth Information
Listing B.2 contains a web page that can be used to load the AppInfo applet.
LISTING B.2
The Full Text of AppInfo.html
1: <applet code=”AppInfo.class” height=”200” width=”170”>
2: <param name=”Name” value=”Rogers Cadenhead”>
3: <param name=”Date” value=”12/07/06”>
4: <param name=”Version” value=”5”>
5: </applet>
Figure B.2 shows the applet running with appletviewer , and Figure B.3 is a screen cap-
ture of the dialog box that opens when the viewer's Info menu option is selected.
FIGURE B.2
The AppInfo
applet running in
appletviewer .
FIGURE B.3
The Info dialog box
of the AppInfo
applet.
These features require a browser that makes this information available to users. The kit's
appletviewer handles this through the Info menu option, but browsers such as Internet
Explorer do not .offer anything like it at this time.
 
Search WWH ::




Custom Search