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

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -