This section describes how to build the Repository to support automation of Java applets. The JavaApplet object is used in the Repository to operate Java applets.
When building the Repository for applet operation, adhere to the following guidelines:
•The JavaApplet object should be positioned in the Repository under the appropriate Explorer window (IEWebMainWindow).
•The ClassName parameter of the JavaApplet object is crucial for the identification of the object, and must be defined in the Repository. Common ClassName parameters are:
•sun.plugin.viewer.frame.IExplorerEmbeddedFrame (Java 1.5)
•sun.plugin2.main.client.PluginEmbeddedFrame (Java 1.5)
•SunAwtFrame (Java 1.6)
The following example shows how to properly build the Repository:
<IEWebMainWindow ClassName="IEFrame" ProgId="appletContainer"> <JavaApplet ClassName="sun.plugin.viewer.frame.IExplorerEmbeddedFrame" ProgId="applet"> <JavaCheckBox Caption="Resizable" ProgId="cbxResizable"/> <JavaCheckBox Caption="Closable" ProgId="cbxClosable"/> </JavaApplet> </IEWebMainWindow> |