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; |