Revision: 980
Author: cmal...@pixelzoom.com
Date: Mon Mar  8 16:36:20 2010
Log: Issue 163: restore component.revalidate call in constructor to get us back to state of PSwing r965
http://code.google.com/p/piccolo2d/source/detail?r=980

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 16:28:26 2010 +++ /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/pswing/PSwing.java Mon Mar 8 16:36:20 2010
@@ -317,6 +317,7 @@
         component.putClientProperty(PSWING_PROPERTY, this);
         initializeComponent(component);

+        component.revalidate();
//TODO: this listener is suspicious, it's not listening for any specific property
         component.addPropertyChangeListener(new PropertyChangeListener() {
             /** {...@inheritdoc} */

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

Reply via email to