/[classpath]/classpath/javax/swing/RepaintManager.java
ViewVC logotype

Diff of /classpath/javax/swing/RepaintManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6.2.2 by gnu_andrew, Sat Jan 15 17:02:20 2005 UTC revision 1.6.2.3 by gnu_andrew, Sun Jan 16 02:14:49 2005 UTC
# Line 309  public class RepaintManager Line 309  public class RepaintManager
309    public synchronized void addDirtyRegion(JComponent component, int x, int y,    public synchronized void addDirtyRegion(JComponent component, int x, int y,
310                                            int w, int h)                                            int w, int h)
311    {    {
312        if (w == 0 || h == 0)
313          return;
314    
315      Rectangle r = new Rectangle(x, y, w, h);      Rectangle r = new Rectangle(x, y, w, h);
316      if (dirtyComponents.containsKey(component))      if (dirtyComponents.containsKey(component))
317        r = r.union((Rectangle)dirtyComponents.get(component));        r = r.union((Rectangle)dirtyComponents.get(component));

Legend:
Removed from v.1.6.2.2  
changed lines
  Added in v.1.6.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26