while (heavyParent != null && heavyParent.isLightweight()) {
heavyParent = heavyParent.getParent();
}
if (heavyParent != null) {
ComponentPeer peer = heavyParent.getPeer();
if (peer != null && peer.canDetermineObscurity() &&
!peer.isObscured()) {
// The peer says we aren't obscured, therefore we can assume
// that we won't later be messaged to paint a portion that
// we tried to blit that wasn't valid.
// It is certainly possible that when we blited we were
// obscured, and by the time this is invoked we aren't, but the