Author: [EMAIL PROTECTED]
Date: Tue Oct 14 18:44:49 2008
New Revision: 400

Modified:
    piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java

Log:
set opacity to be true by default, to make sure changes are compatible with  
new support for transparent pcanvas (see PCanvas.paintComponent)

Modified:  
piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java
==============================================================================
--- piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java     
 
(original)
+++ piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/PCanvas.java     
 
Tue Oct 14 18:44:49 2008
@@ -104,6 +104,7 @@
          setPanEventHandler(new PPanEventHandler());
          setZoomEventHandler(new PZoomEventHandler());
          setBackground(Color.WHITE);
+        setOpaque( true );
      }

      protected PCamera createDefaultCamera() {

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to