That's a good question. I would assume all PSwing.repaint() requests would happen on the EDT and so this would not be needed.
Looking at the Subversion commit history, synchronized was present since origin, so no info there. Is the presence of synchronized causing problems for you, or are you just curious? On Thu, Nov 24, 2011 at 1:07 AM, csac <[email protected]> wrote: > Hi All, > > I see that addDirtyRegion() method in PSwingRepaintManager is > synchronized. This there any specific reason for synchronizing this > method? > > Regards, > Siva. > > -- > Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -- Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
