liveconnect

Can a java applet manipulate the HTML page containing it?

Hi, I wanted to know if I can write something on the HTML page containing my Java applet from within the applet. More generally, what interactions are possible between these two? Thanks. ...

Is it possible to create arbitrary Java objects from JavaScript in ie?

LiveConnect is a Mozilla technology that bridges Java and JavaScript. Amazingly, they've started maintaining it again for recent versions of Firefox. In Firefox I can write e.g. var d = new java.util.Date(); or use the Packages. namespace if it's not a java.something var d = new Packages.java.util.Date(); or I could go crazy and ca...

Using LiveConnect, calling a function doesn't pass the strings properly

I've got a little problem with calling javascript functions via liveconnect on java. It's not calling the function with the proper items, as the Safari console just classes the objects as "RuntimeObject" but in javascript i use: chat.call("message", new String[]{ action, data }); arguments action and data are not being forwarded as pr...

Access is Denied Exception when calling JavaScript function from Java in IE

I am getting Access Denied exception when I am calling a Java Script Function from Java Applet only in IE. ( modified my original question with updated information.) Here is my HTML code <script type="text/javascript"> function uploadComplete() { alert("in Upload Complete"); ju.doneUpload(true); } </script> ju is ...

Problem with Java Applet <--> Javascript communication

I'm having trouble getting a Java Applet to communicate with the Javascript code on the page the applet is hosted on. It works sometimes, but othertimes it throws an obscure exception, that googling for has not turned up any useful information, besides a few Java bug reports that were never resolved (thanks Sun). Here is the code I am u...