Full threadqwerta·All you need to understand this problem is better language.All of this has been solved long time ago at Java Swing. Checkout Mig Layout.View on HN