[piccolo2d-dev] Re: Issue 163 in piccolo2d: PSwing doesn't draw dynamic JComponent properly

2010-03-04 Thread piccolo2d
Updates: Status: New Comment #7 on issue 163 by cmal...@pixelzoom.com: PSwing doesn't draw dynamic JComponent properly http://code.google.com/p/piccolo2d/issues/detail?id=163 There's still a problem here. In TestPSwingDynamicComponent, change the type of topLabel and bottomLabel to

[piccolo2d-dev] Re: Issue 163 in piccolo2d: PSwing doesn't draw dynamic JComponent properly

2010-03-04 Thread piccolo2d
Comment #8 on issue 163 by cmal...@pixelzoom.com: PSwing doesn't draw dynamic JComponent properly http://code.google.com/p/piccolo2d/issues/detail?id=163 Attached is an updated version of TestPSwingDynamicComponent that tests using a JLabel, JCheckBox and JRadioButton. The previous version

[piccolo2d-dev] Re: Issue 163 in piccolo2d: PSwing doesn't draw dynamic JComponent properly

2010-03-04 Thread piccolo2d
Comment #9 on issue 163 by cmal...@pixelzoom.com: PSwing doesn't draw dynamic JComponent properly http://code.google.com/p/piccolo2d/issues/detail?id=163 In PSwing r973, a HierarchyBoundsListener was added in the PSwing constructor. The javadoc for this interface says "The listener interfa

[piccolo2d-dev] Re: Issue 163 in piccolo2d: PSwing doesn't draw dynamic JComponent properly

2010-03-04 Thread piccolo2d
Comment #10 on issue 163 by cmal...@pixelzoom.com: PSwing doesn't draw dynamic JComponent properly http://code.google.com/p/piccolo2d/issues/detail?id=163 If I add this call as the first line of PSwing.updateBounds, the problem seems to be resolved: component.revalidate(); I also don't t

[piccolo2d-dev] Re: Issue 163 in piccolo2d: PSwing doesn't draw dynamic JComponent properly

2010-03-04 Thread piccolo2d
Comment #11 on issue 163 by cmal...@pixelzoom.com: PSwing doesn't draw dynamic JComponent properly http://code.google.com/p/piccolo2d/issues/detail?id=163 Btw... If we decide to keep the listeners added to component in the constructor, they should really be added in initializeComponent. I