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

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

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

revision 1.58 by rabbit78, Thu Sep 22 14:08:01 2005 UTC revision 1.59 by rabbit78, Thu Sep 22 20:58:34 2005 UTC
# Line 1492  public abstract class JComponent extends Line 1492  public abstract class JComponent extends
1492      Component[] children = getComponents();      Component[] children = getComponents();
1493      for (int i = children.length - 1; i >= 0; --i)      for (int i = children.length - 1; i >= 0; --i)
1494        {        {
1495            if (!children[i].isVisible())
1496              continue;
1497    
1498          Rectangle bounds = children[i].getBounds();          Rectangle bounds = children[i].getBounds();
1499          Rectangle oldClip = g.getClipBounds();          Rectangle oldClip = g.getClipBounds();
1500            if (oldClip == null)
1501              oldClip = bounds;
1502    
1503          Rectangle clip = oldClip.intersection(bounds);          Rectangle clip = oldClip.intersection(bounds);
1504          if (clip.isEmpty())          if (clip.isEmpty())
1505            continue;            continue;

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.59

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