equal
deleted
inserted
replaced
3975 } |
3975 } |
3976 for (int index = fromZorder; index <= toZorder; index++) { |
3976 for (int index = fromZorder; index <= toZorder; index++) { |
3977 Component comp = getComponent(index); |
3977 Component comp = getComponent(index); |
3978 if (!comp.isLightweight()) { |
3978 if (!comp.isLightweight()) { |
3979 comp.applyCurrentShape(); |
3979 comp.applyCurrentShape(); |
3980 if (comp instanceof Container && ((Container)comp).getLayout() == null) { |
3980 } |
3981 ((Container)comp).recursiveApplyCurrentShape(); |
3981 if (comp instanceof Container && |
3982 } |
|
3983 } else if (comp instanceof Container && |
|
3984 ((Container)comp).hasHeavyweightDescendants()) { |
3982 ((Container)comp).hasHeavyweightDescendants()) { |
3985 ((Container)comp).recursiveApplyCurrentShape(); |
3983 ((Container)comp).recursiveApplyCurrentShape(); |
3986 } |
3984 } |
3987 } |
3985 } |
3988 } |
3986 } |