Java Reference
In-Depth Information
documentation path. You should always use this instead of hard-coding
the full URL, or a change in directory structure or server configuration
might break all of your links.
@link
Allows you to embed a cross-reference to another section of the program's
documentation directly in comment text. The format of a reference is the
same as that for the
@see
tag.
This list is not complete. As always, see the official documentation
8
for details.
5.6
D
ISPENSING WITH
A
PPLETS
While this topic does not cover writing applets, we should mention that, since
an applet does not (generally) have a
main()
method, you need something else
to launch it outside of a browser. Enter
appletviewer
. This program provides
an execution environment for applets.
Why No Applets?
The decision to not cover applets was based both on limited space and
on some deployment issues with applets. A surprisingly large number of
people are running with either very old browsers that support only
Java 1.1.x features, or that support Java runtime plug-ins but do not have
them installed or enabled. Also, applets have severe limitations (for sound
security reasons), and enabling various features requires a good under-
standing of the
SecurityManager
Java classes, which could fill a topic
by themselves. We chose to minimize coverage of applets for these
reasons.
8.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html