Comment #2 on issue 130 by re...@colorado.edu: PFrame throws  
IllegalComponentException
http://code.google.com/p/piccolo2d/issues/detail?id=130

The problematic snippet of code is:

         if (canvas == null) {
             this.canvas = new PCanvas();
         }
         else {
             this.canvas = canvas;
         }

         setContentPane(canvas);

Note that even if canvas is null, it is still being set as the content pane.

This bug was introduced in r698 "More CheckStyle Stuff"


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to