From 91c24070115e77a3e84452bdc599c14e0ff0c3f3 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Fri, 19 Jun 2015 17:31:03 -0400 Subject: [PATCH] moving back off the EDT again... --- core/src/processing/core/PApplet.java | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 60eadeb7a..7919d1ca6 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -9874,20 +9874,20 @@ public class PApplet implements PConstants { // also suspecting that these "not showing up" bugs might be EDT issues. static public void runSketch(final String[] args, final PApplet constructedSketch) { - EventQueue.invokeLater(new Runnable() { - public void run() { - runSketchEDT(args, constructedSketch); - } - }); - } - - - /** - * Moving this to the EDT for 3.0a6 because that's the proper thing to do - * when messing with AWT/Swing components. And boy, do we mess with 'em. - */ - static protected void runSketchEDT(final String[] args, - final PApplet constructedSketch) { +// EventQueue.invokeLater(new Runnable() { +// public void run() { +// runSketchEDT(args, constructedSketch); +// } +// }); +// } +// +// +// /** +// * Moving this to the EDT for 3.0a6 because that's the proper thing to do +// * when messing with Swing components. But mostly we're AWT, so who knows. +// */ +// static protected void runSketchEDT(final String[] args, +// final PApplet constructedSketch) { // Supposed to help with flicker, but no effect on OS X. // TODO IIRC this helped on Windows, but need to double check. System.setProperty("sun.awt.noerasebackground", "true");