void (Container container, int i, int j, int k, int l, int i1, int j1) { int k1 = getAlignment(); if (k1 == 1){ j += l / 2; } if (k1 == 2){ j += l; } for(int l1 = i1; l1 < j1; l1++){ Component component = container.getComponent(l1); Dimension dimension = component.getSize(); if (component.isVisible()){ int i2 = i + (k - dimension.width) / 2; component.setLocation(i2, j); j += vGap + dimension.height; } } }