Events are only part of the issue - your win[..].get() won’t be threadsafe either, and depending on renderer might work, work most of the time, work some of the time, or crash. Note the part in the Javadoc @jeremydouglass posted about the Processing Animation Thread - you now have five of them! 