If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

GridBagLayout Question

When I resize the form, label1 and label2 stay put, which is good. But textbox1 and textbox2 move to the left, and expand. (It might be easier to download and run this code.)

The problem is, the textfields move to the right, and I want them to stay where they are when the begin, but i still want their width to expand with the window.
(E.G. I want x,y to stay the same, but width and height to expand with the container.)