Reputation: 1232
I have used a GridBagLayou to arrange on a panel couple of labels and text fields. Now I need to add 2 buttons below text fields beside each other on the right hand side. How can I do it? I think that I need to use other panel, layout them there and then somehow glue those 2 panels? But how? Am I thinking right?
Edited: @Hego555 - if you have nothing to say don't bother to post.
Upvotes: 0
Views: 90
Reputation: 168825
The type of layout to which you are referring is typically called a 'nested layout'.
See this nested layout example for some tips. E.G. the combo and checkbox on the top-right of the GUI sound like how you want the two buttons.
Upvotes: 4