@peyosh, GridBagLayout is a very complex Layout Manager!!! It takes minimum 6
months to master it. Follow my advice :
1) Master all the Layout Managers first , see this AWT Guide
*java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html
2) Use NetBeans IDE, it comes with Matisse( GUI Builder) : *www.netbeans.org/features/java/swing.html
Download NetBeans from *www.netbeans.org
Matisse is a RAD tool for creating GUI for Java. It's as easy as drap & drop &
layout the components as you like!!!
Using GridBagLayout : *java.sun.com/docs/books/tutorial/uiswing/layout/gridbag.html