My container JPanel has a boxlayout. In the first row, another JPanel, two elements should be placed: a JLabel in the left and a JButton in the right.
How to place them there?
I can't use BorderLayout (so west and east) for the inner JPanel, because it would make the first row blow up taking the whole height which is really ugly.