Can a java applet manipulate the HTML page containing it? -
I wanted to know if I could write something from the applet on the HTML page with my Java applet.
More commonly, what is possible between the two?
Thank you.
from inside your Java applet
// object applet Javascript methods are protected static JSObject appletWindowJSObject = null; AppletWindowJSObject = JSObject.getWindow (this); // Call your Javascript method on page and exit it from the applet. Windways S Object ("My javascript method", "this is what i am");
You can use javascript to roughly html page the page.
Html>
Comments
Post a Comment