Revision: 979
Author: cmal...@pixelzoom.com
Date: Mon Mar  8 16:28:26 2010
Log: Issue 163: Removed infinite loop introduced in r978 by calling component.revalidate in PSwing.updateBounds. With the removal of HeirarchyBoundsListener in r978, this should put PSwing back to r965, the state it was in before we started working on this issue.
http://code.google.com/p/piccolo2d/source/detail?r=979

Modified:
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java

=======================================
--- /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java Mon Mar 8 10:35:45 2010 +++ /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java Mon Mar 8 16:28:26 2010
@@ -348,7 +348,6 @@
         // TODO: should we make sure this is called at least once
// TODO: does this sometimes need to be called when size already equals
         // preferred size, to relayout/update things?
-        component.revalidate();
         if (componentNeedsResizing()) {
component.setBounds(0, 0, component.getPreferredSize().width, component.getPreferredSize().height);
         }

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

Reply via email to