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 & HelpIntegration › Instantiate my sketch from other Java
Page Index Toggle Pages: 1
Instantiate my sketch from other Java (Read 802 times)
Instantiate my sketch from other Java
May 26th, 2006, 9:44pm
 
First, thanks for Processing! It's wonderful.

I have a pretty basic Processing sketch that I would like to instantiate from another large Java project. I cannot use

PApplet.main(new String[] { "ReminderScreen" })

because I actually need to change the state (e.g., communicate data) from the other large Java project while my sketch is running.

I looked into PApplet.main() and there is a lot of stuff in there. I hope that there is an easier way than replicating all of that code elsewhere.

Thanks,
Eric
Page Index Toggle Pages: 1