We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › .txt in data folder inaccessible
Page Index Toggle Pages: 1
.txt in data folder inaccessible (Read 161 times)
.txt in data folder inaccessible
Jan 8th, 2009, 1:37am
 
hi,
I have a sketch that loadStrings() a couple of text files from a function called by a function called by setup(). It works fine in the IDE and Application form, but the code hangs at this point when I run in an applet.

The files are in data/ and I use the plain vanilla filename in the code, no fancy path specifications. I checked and they are indeed inside the .jar being generated. No special characters in the filenames except hyphens. The applet reads font files from the data/ folder without complaint. Any thoughts on what to try?

thanks,
Neil
Page Index Toggle Pages: 1