Comment #13 on issue 163 by cmal...@pixelzoom.com: PSwing doesn't draw
dynamic JComponent properly
Sorry, I should have been clearer and it was late.
Adding component.revalidate() with no other changes to PSwing fixes both
and layout issues. Apparently the bounds of both the component and PSwing
updated using the component's dirty notion of its preferred size.
I then took a look at the HierarchyBoundsListener and
PropertyChangeListener added in
the constructor, both of which exist to call updateBounds. I added debug
(printing getPropertyName), then ran both TestPSwingDynamicComponent and
one of our
applications that makes heavy use of PSwing. I didn't see anything that
leads me to
believe that these listeners are being called in a situation that affects
If you'd like me to make the changes to PSwing myself, let me know. I've
committed to Piccolo's SVN repository, so I'll need a little guidance on
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:
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en