FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Programs
(Moderators: fry, REAS)
   Arraylist and exporting
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Arraylist and exporting  (Read 404 times)
Steve

nerdytone WWW Email
Arraylist and exporting
« on: Dec 7th, 2003, 6:45am »

I'm using arraylists in my program and it will run in p5_67 but wont export. i tried import java.util.ArrayList; but i get an error. bug?
 
 
file->http://p5.stevegh.com/int/int.pde
 
thanks
-steve
 
Steve

nerdytone WWW Email
Re: Arraylist and exporting
« Reply #1 on: Dec 7th, 2003, 9:12am »

i redid my program without array lists and im still getting the "identifier expected instead of this token" on export, but again it still runs fine in p5. help?
 
arielm

WWW
Re: Arraylist and exporting
« Reply #2 on: Dec 7th, 2003, 5:44pm »

it's probably not a processing bug, but rather related to the use of the ArrayList class which is not compatible with java 1.1 (apparently your browser is either using microsoft old jvm or if you're a mac user: the mrj thing...)
 
workarounds? if you want your exported applets to be seen by everybody, just don't use ArrayList (the official java-docs are generally mentionning implementation versions for most of the classes...)
 

Ariel Malka | www.chronotext.org
Steve

nerdytone WWW Email
Re: Arraylist and exporting
« Reply #3 on: Dec 7th, 2003, 6:38pm »

once again(as posted in the programs section), my program wont even EXPORT using regular arrays, i still get the same error, has anyone looked at the file?
 
TomC

WWW
Re: Arraylist and exporting
« Reply #4 on: Dec 7th, 2003, 7:57pm »

Works fine for me.  Processing-067, Windows 2000, Internet Explorer 6, Java 1.4.2
 
Pretty!
 
Steve

nerdytone WWW Email
Re: Arraylist and exporting
« Reply #5 on: Dec 7th, 2003, 9:22pm »

tom would you mind sending me the applet? i have those exact same specs and it will NOT export for me. thanks
email-> mailto:steve@stevegh.com
 
benelek

35160983516098 WWW Email
Re: Arraylist and exporting
« Reply #6 on: Dec 7th, 2003, 11:01pm »

also exporting fine for me (assuming it's doing what u intended it to do). ps0067, winXP, IE6, Java1.4.2_01.
 
Steve

nerdytone WWW Email
Re: Arraylist and exporting
« Reply #7 on: Dec 7th, 2003, 11:06pm »

well i guess ill install the sdk or something but its also not exporting for a couple of us here. can someone send me the jar class and html file? thanks!
 
Steve

nerdytone WWW Email
Re: Arraylist and exporting
« Reply #8 on: Dec 7th, 2003, 11:23pm »

strange, i just copied the code into a new file, and it worked. heh =T
 
Pages: 1 

« Previous topic | Next topic »