I've developed a sketch that imports a simple dataset from a user. I developed the sketch in Java mode thinking I could convert it into an applet and put it on my website. However, I see that applets are no longer supported in Processing 2. The javax.swing.* c
lass (which I used for the file finder gui) does not exist in the Javascript side of Processing. Does anyone have any ideas for a work around?
My thoughts on the subject:
1. Download a pre-2.0 version of Processing. This might be the easiest as long as my v2.03 code works on it.
2. Ask the user to upload the spreadsheet to a Google doc and then import it from there? (Not very user-friendly because of the extra steps).
3. Convert it to an applet manually (not sure how to do this).
4. Export my code to Javascript and then manually include some class or other (not sure which one) that would allow me to use a GUI interface. Not sure if this is even possible. I looked at the javascript output from one of my sketches once and it was incomprehensible!
1