I have talked to several people lately about how hard it can be to layout components in swing so they are just the right size in the exact location you want them too. I was told by one person that GridBagLayout offers you the most power at the cost of complexity. A friend also said that he prefers to use embedded JPanels with simpler layout managers such as BorderLayout, GridLayout, and FlowLayout. The only problem I have found with either of these approaches is that they both generate bloated code. Like I said, I just want the components to be the right size. It seems that they all get greedy and want to take up all of the space alotted to them. I was kind of wondering if anybody out there with a great deal of experience with swing could offer me their opinions on the matter. What are the methods that are being employed in Industry? Is all of the bloated code necessary? Thank You all in advance
Kevin Zablonski
Kevin Zablonski