Packages.JavaPackagewhere JavaPackage is the name of the object's Java package. If the package is in the
Packageskeyword is optional.
netscapepackage contains the package
JavaPackageis a reference to a Java package. For example, a reference to
JavaPackageand a property of the
JavaClassobject is a reference to one of the classes in a package, such as
JavaClasshierarchy reflect the Java package and class hierarchy. Although the packages and classes contained in a
JavaPackageare its properties, you cannot use a
for...instatement to enumerate them as you can enumerate the properties of other objects.
JavaClassobjects and any other
JavaPackageobjects it contains.
redwoodpackage to contain various Java classes that it implements. The following code creates the
var red = Packages.redwood
Last Updated: 11/13/98 10:23:20