Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4160
Automatic alignment of controls created at runtime with the GridBagLayoutManager
posted

Hello

I would like to know if the GBLM can be used in a scenario in that controls are created dynamically and "placed" on a UltraPanel, controls such as labels, textboxes or comboboxes. My idea is to create a label, then a textbox at its right and finally getting them to be aligned in a single column.

I would appreciate a lot a little sample.

Thanks a lot for you kind help.