|
Author |
Topic: JSObject (Read 568 times) |
|
benelek
|
JSObject
« on: Sep 18th, 2003, 4:07pm » |
|
p5 won't let me export an applet with JSObject being used. the following, specifically: Code:JSObject win = JSObject.getWindow(this); |
|
|
|
|
|
benelek
|
Re: JSObject
« Reply #2 on: Sep 19th, 2003, 9:51am » |
|
hmm, i had a look through there a couple of days ago but it seems i missed a bit! unfortunately, even after following the import recipe i got errors. btw, the latest release of the java plugin has the CLASS files in "plugin.jar" instead of in "jaws.jar". here's the error stream: Code:C:/Program Files/Proce55or/processing-0059/sketchbook/default/scriptBoxesOrange/app let/scriptBoxesOrange.java:17:3:17:10: Semantic Error: Type JSObject was not found. |
| the error stream was produced when i tried to export the sketch. i should mention that this error stream is different to the one i was getting before inserting the CLASS files.
|
|
|
|
arielm
|
Re: JSObject
« Reply #3 on: Sep 19th, 2003, 1:17pm » |
|
are you sure you don't have any jaws.jar on your hard-disk? if you still badly need to import JSObject correctly, you can grab the 2 required class files from http://www.chronotext.org/processing/js_04/js_04.jar (just rename from .jar to .zip) or you could just wait for one the forthcoming new versions of p5 when java mode is fully enabled, or try to deal with a java ide, like ibm eclipse
|
Ariel Malka | www.chronotext.org
|
|
|
benelek
|
Re: JSObject
« Reply #4 on: Sep 20th, 2003, 1:54am » |
|
actually, i do have jaws.jar on my disk - under the folder of some older installed java versions. however, winzip gave me a whole lot of crap about incorrect timestamps when i tried to unzip it (which is why i downloaded the latest java release). the required files don't seem to be in your js_04.jar archive...? anywho, it's neither life-threatening nor death-causing, and i probably should have had a look at eclipse a while ago anyway (from the amount of talk it's generated on this board).
|
|
|
|
|