Window.Packages (Property)

A top level JavaPackage object that is the root of a tree of Java packages.

Availability:

JavaScript - 1.1
Netscape - 3.0
Opera - 3.0
Property/method value type:JavaPackage object
JavaScript syntax:NmyWindow.Packages
NPackages

This property contains a read-only reference to a JavaPackage that sits at the top of the Java package hierarchy; the root node of the tree. A JavaPackage is a container for other JavaPackage objects and JavaClass objects. By default, the Netscape Navigator browser will have three packages belonging to this top level node (java, sun and Netscape). Each of these is a package and will contain other packages. There may be additional externally supplied packed over and above these default three items.

MSIE supports different mechanisms for encapsulating Java code.

See also:JavaArray object, JavaClass object, JavaObject object, JavaPackage object, Packages, Window.java, Window.netscape, Window.sun

Property attributes:

ReadOnly.

insert figure 0058