for (int i = 0; i < count; i++) {
Component target = containerAdapter.getChild(i);
if (target != widget) {
if (isRightRelatedTo((JComponent) target, (JComponent) widget)) {
Constraints constraints = layout.getConstraints(target);
Alignment horizontal = constraints.getHorizontal();
if (horizontal instanceof Leading) {
Leading leading = (Leading) horizontal;
leading.setLeading(leading.getLeading() + delta_width);
adjustHorizontalLeadingBy(target, delta_width);
} else if (horizontal instanceof Bilateral) {