liveconnect
Efficiently streaming audio samples retrieved from a java object in Gecko (firefox extension)
I am writing a firefox extension which needs to play a certain PCM stream. The samples are retrieved from a java module over LiveConnect:[详细]
2023-04-11 05:00 分类:问答How can I decouple java to javascript calls? Applet is waiting on itself!
I am having trouble avoiding a sporadic crash in my applet that appears to be caused by a thread waiting on itself. Strangely, this only seems to happen in google chrome.[详细]
2023-03-22 07:14 分类:问答liveconnect on ubuntu/firefox
This works on chrome canary/firefox 4 etc on windows: getAppletContext().showDocument(new URL(\"javascript:alert(\'hello\');\"));[详细]
2023-03-13 22:12 分类:问答How to pass JavaScript typed arrays to Java applet through LiveConnect?
I\'m trying to pass ArrayBuffer to Java applet, but cannot guess how to do it. It\'s pretty easy to ha开发者_如何转开发ndle standard JS arrays and they work fine for Sun\'s plugin (not for IcedTea). I[详细]
2023-03-09 13:40 分类:问答javascript and live connect
i wrote a simple html file that prints 10 random numbers using javascript. javascript object in turn uses java.util.Random class (live connect) to output the result! but i am not getting exact output[详细]
2023-02-27 03:10 分类:问答Javascript to Java communication using LiveConnect not working
I\'ve been working on a project that requires communication both directions between Java and JavaScript. I have successfully managed to get it working under all browsers in OS X, but I\'m now faced wi[详细]
2023-02-23 19:23 分类:问答Java to javascript type conversion
Can somebody explain what does this mean? Boxing objects for Java numeric values (the java.lang classes Byte,[详细]
2023-02-07 20:15 分类:问答Passing binary data from Javascript into a Java applet via LiveConnect
I\'m working on an application with a javascript front end that can receive a bunch of octets from the server (for the time being I\'m using php\'s chr() to simulate some data).[详细]
2023-01-27 00:35 分类:问答access denied (java.net.SocketPermission 127.0.0.1:8080 connect,resolve)
I have a Java Applet inserted on a simple HTML page located at http://localhost:8080/index.html: <applet id=\"applet\" code=\"SomeCode.class\" archive=\"lib.jar\" Width=\"1\" Height=\"1\"></[详细]
2023-01-24 18:23 分类:问答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[详细]
2022-12-24 19:36 分类:问答