@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
http://java.sun.com/developer/online...ortcourse.html
2) Use
NetBeans IDE, it comes with Matisse( GUI Builder) :
http://www.netbeans.org/features/java/swing.html
Download NetBeans from
http://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 :
http://java.sun.com/docs/books/tutor...t/gridbag.html