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.
Page Index Toggle Pages: 1
File Dialog (Read 555 times)
File Dialog
Jul 19th, 2005, 7:13pm
 
Hi - I'm using a file dialog to pick one of several hundred files in my data/
directory, and it works sometimes. I'd like it to work all the time.
things that would help:
I'd love to load arbitrary files and work off of them. I bet you're going to suggest that I load them via http instead, and I might do that,
probably because I'll be in trouble if I ever make a jar file out of this,
but then I'd need to have a way to pick them from a dynamically controlled list and then make a selection dialog which is a pain in the butt for several hundred entries.
I suppose I can build and decorate some Frames, but I'd rather have some industry acceptable, sanctioned way to do this. I suppose awt.List  might be the way to go. I probably sound like I'm answering my own questions here.
I'm really looking for Processing Best Practices.
Page Index Toggle Pages: 1