fixing issues with threading, stop button, and defaults not being called

This commit is contained in:
benfry
2005-04-06 06:20:07 +00:00
parent 3131e83206
commit d253284231
6 changed files with 43 additions and 19 deletions

View File

@@ -1015,6 +1015,7 @@ public class PGraphics2 extends PGraphics {
* even if noDepth() was called before draw() exited.
*/
public void clear() {
//System.out.println("clearing " + PApplet.hex(backgroundColor));
g2.setColor(new Color(backgroundColor));
g2.fillRect(0, 0, width, height);
}