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 › Help with file input
Page Index Toggle Pages: 1
Help with file input (Read 495 times)
Help with file input
Feb 12th, 2007, 3:34pm
 
Hi guys.I am creating a java Gui where someone will select an audio file and playback will occur. I also have a processing example where if a song is played the graphics react. It is from the Ess library and is an example.  I have integrated processing into Eclipse and i was hoping to get a graphic to react by selecting a file through the swing GUI. Im wondering what the correct syntax is to send a file instance from the swing class to be taken by the processing PApplet in order for the graphics to react for when that file is played.But i am having trouble passing the file instance in a method from the swing class to the PApplet class.can anyone help?
Page Index Toggle Pages: 1