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 › Two-windowed sketches
Page Index Toggle Pages: 1
Two-windowed sketches (Read 1131 times)
Two-windowed sketches
Aug 1st, 2009, 2:28pm
 
Can someone please tell me if there is a Library to make two windowed sketches Smiley

The target is to make a running sketch in two separate windows, one for the final display and one for a basic GUI from where data is introducedand modified in the program  Cheesy

thanks!
Re: Two-windowed sketches
Reply #1 - Aug 1st, 2009, 10:08pm
 
The ControlP5 library has a way to do it.
http://www.sojamo.de/controlP5/

Otherwise, you may want to embed a PApplet inside another object.
http://dev.processing.org/reference/core/javadoc/processing/core/PApplet.html
Re: Two-windowed sketches
Reply #2 - Aug 2nd, 2009, 3:28am
 
Actually I found the library pretty quick and never saw your response, sorry, I spent the whole day and night (it's almost 4:30 am in CR) going trhough controlP5. It is in deed a very awesome library.

Thanks Anyway. I think I'll try also the other workaround Smiley

Maybe someday you'll be able to se what I'm doing Wink (which is already rendering amazing results)
Re: Two-windowed sketches
Reply #3 - Aug 2nd, 2009, 10:20am
 
lets see!
Re: Two-windowed sketches
Reply #4 - Aug 3rd, 2009, 6:09am
 
NoahBuddy wrote on Aug 1st, 2009, 10:08pm:
The ControlP5 library has a way to do it.
http://www.sojamo.de/controlP5/


Broken link. Try http://www.sojamo.de/libraries/controlP5/
Re: Two-windowed sketches
Reply #5 - Aug 3rd, 2009, 6:55am
 
Mmm, that's the link given in the Libraries page. Time for an update, I think.
Re: Two-windowed sketches
Reply #6 - Aug 3rd, 2009, 6:01pm
 
thanks for reporting, fixed (on sojamo.de).
Re: Two-windowed sketches
Reply #7 - Aug 4th, 2009, 1:46am
 
I've also written a library to make using multiple windows a bit easier - see Sketches in Multiple Windows.

It does not have the GUI functionality of controlP5, but does focus on the specific problem of embedding sketches in multiple windows (or multiple panels in the same window).
Page Index Toggle Pages: 1