Section 24.148. Packages: the root JavaPackage


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




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net