JavaScript: The Definitive Guide

24.148. Packages: the root JavaPackage

LiveConnect

24.148.1. Synopsis

Packages

24.148.2. Description

In JavaScript implementations that include LiveConnect or other technology for scripting Java, the global Packages property is a JavaPackage object whose properties are all the package roots known to the Java interpreter. For example, Packages.javax.swing refers to the Java package javax.swing. The global property java is a shortcut for Packages.java.

24.148.3. See Also

java, JavaPackage; Chapter 12

Категории