< prev index next >
src/java.desktop/share/classes/javax/swing/text/html/ObjectView.java
Print this page
*** 37,56 ****
/**
* Component decorator that implements the view interface
* for <object> elements.
* <p>
* This view will try to load the class specified by the
! * <code>classid</code> attribute. If possible, the Classloader
* used to load the associated Document is used.
* This would typically be the same as the ClassLoader
* used to load the EditorKit. If the document's
! * ClassLoader is null, <code>Class.forName</code> is used.
* <p>
* If the class can successfully be loaded, an attempt will
* be made to create an instance of it by calling
! * <code>Class.newInstance</code>. An attempt will be made
! * to narrow the instance to type <code>java.awt.Component</code>
* to display the object.
* <p>
* This view can also manage a set of parameters with limitations.
* The parameters to the <object> element are expected to
* be present on the associated elements attribute set as simple
--- 37,56 ----
/**
* Component decorator that implements the view interface
* for <object> elements.
* <p>
* This view will try to load the class specified by the
! * {@code classid} attribute. If possible, the Classloader
* used to load the associated Document is used.
* This would typically be the same as the ClassLoader
* used to load the EditorKit. If the document's
! * ClassLoader is null, {@code Class.forName} is used.
* <p>
* If the class can successfully be loaded, an attempt will
* be made to create an instance of it by calling
! * {@code Class.newInstance}. An attempt will be made
! * to narrow the instance to type {@code java.awt.Component}
* to display the object.
* <p>
* This view can also manage a set of parameters with limitations.
* The parameters to the <object> element are expected to
* be present on the associated elements attribute set as simple
< prev index next >