How to create more than one window of a single sketch in Processing?
问题 I want to create two windows by using just one single sketch in Processing. What I'm trying to do is that if I click a button in one window, then some image appear in another window. I've searched Google and found some examples. Actually, I found the same question in this 'stack overflow web'. Here are the links. Create more than one window of a single sketch in Processing http://forum.processing.org/one/topic/multiple-windows-2-4-2011.html Here is the codes of second links. import java.awt