I did this quite a while a ago, thought I should share this.
To call a js function foo from java applet :
String [] stringArgs = new String[2]; stringArgs[0] = "first arg from Java"; stringArgs[1] = "second arg from Java"; mainWindow.call("foo", stringArgs);
To call a function foo() in a java applet named bar, do the following in javascript:
document.bar.foo(param1, param2, ....) ;
Search
News
Blog
- Fetching data from multiple tables in one MySQL query – Part 2
- Fetching data from multiple tables in one MySQL query
- Let’s Go A Hunting
- Java Applet and Javascript message passing
- The Right-Click Menu in Flash
- Stroke hinting
- Python: C++ style cin, cout in Python
- Python: Working in Unicode
- Website Security : Directory Listing Issue
- Hyperlink in actionscript 3


October 13, 2009 in
