/[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.8 by mkoch, Fri Oct 22 12:43:59 2004 UTC revision 1.9 by mark, Thu Nov 11 17:22:52 2004 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.8  
changed lines
  Added in v.1.9

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