Updates:
Status: Started
Comment #7 on issue 144 by [email protected]: Updates for PSwing
http://code.google.com/p/piccolo2d/issues/detail?id=144
Thanks for applying this patch and beautifying it. I noticed that you
removed a
method computeBounds() and privatized another method
componentHierachyChanged().
ComputeBounds() was currently just calling reshape() (though this
implementation
might change in the future), but reshape() is currently package visible
only. So
could you add back computeBounds() or make reshape() public? You could
also rename
computeBounds()->updateBounds() if you like.
The long term solution to the componentHierarchyChanged() is to internally
attach
listeners to the PSwing's jcomponent swing tree and listen for
componentAdded, etc.
so that new components can have their double buffering disabled. Right
now, we're
only using this functionality in one of our projects, and I'm happy to
write a fix in
the client code if you think this method should be omitted from PSwing (it
would be a
shame to put it in for 1.3 just to deprecate it for 1.3.0_01.)
--
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
-~----------~----~----~----~------~----~------~--~---