This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am currently creating an application that uses nested layouts to create a complex input form. So far everyting has functioned as expected until now. I post an image of what is occuring and here is the excerpt of code producing the strange behaviour
I hope you understand my query. I can post more code or screenshot if necessary.
I'm not sure why it's not working for you, not a GridbagLayout guru. I might suggest trying JGoodies forms if you can. You can download the library here. It took less time for me on one project to change everything to the JGoodies forms than it would have taken me to fix the GBL problems I was having, and I ended up happier with the GUI when I was done.
Joined: May 15, 2001
To clarify further the setGbc method has the following argument list