protected Alignment createHorizontalTrailing(Component me, Rectangle bounds, Container parent) {
int min = Integer.MIN_VALUE;
int pref = Integer.MIN_VALUE;
int count = parent.getComponentCount();
GroupLayout layout = (GroupLayout) parent.getLayout();
LayoutStyle layoutStyle = LayoutStyle.getInstance();
for (int i = 0; i < count; i++) {
Component target = parent.getComponent(i);
Constraints constraints = layout.getConstraints(target);
Rectangle targetBounds = target.getBounds();
if (constraints != null && isOverlap(bounds.y, bounds.height, targetBounds.y, targetBounds.height)) {
Alignment horizontal = constraints.getHorizontal();
Dimension prefs = target.getPreferredSize();
Dimension mins = target.getMinimumSize();