Bug? Writing to Console depends on active PDE instance

edited September 2014 in Using Processing

Start an instance of Processing (PDE1), write the following code in PDE1 and run the code:

void draw() { if (keyPressed == true) { println("Key pressed!"); } }

Whenever you press a key (sketch window being active), "Key pressed!" is written to the Console of PDE1.

Start another instance of Processing (PDE2). Return to the sketch window and press keys.

Surprisingly, output is written to console of PDE2.

Is this a bug or a feature?

Cheers,

Dominikus

Tagged:

Answers

Sign In or Register to comment.