This page demonstrates how to sink events from Java applets. The first applet uses VBScript
to sink the DoClick event and the second applet uses JavaScript. In order to get the event
wiring to occur, you must pass the parameter FiresScriptEvents=true to the Java object
via the param tag.
Please install Internet Explorer 4.0 to see this sample work, as the FireScriptEvents paramater is not supported in the Internet Explorer 3.0 scripting model.
Remarks:
This bean is meant to be run as an applet.
|