Entry
Why won't Javascript allow me to access certain java objects? (ie java.awt.Component) Is there a list of objects that are ok for javascript to access?
Aug 20th, 2000 12:20
Klaus D. Witzel, dave clay, http://developer.java.sun.com/developer/infodocs/
Classes like java.awt.Component are abstract classes and cannot be
instantiated. They serve mainly for beeing a (common) anchestor for
their subclasses and for strong typing of paramaters like in
java.awt.PopupMenu.show(java.awt.Component,...).
Nevertheless, one can use the static members (methods,fields) of
abstract classes.
All the classes (and their modifiers, like 'abstract') are documented
in their (version dependent) JDK / SDK, for example
http://java.sun.com/ under "Products and API Documentation".
/Klaus