I've having trouble with the java.awt layout.
I've tried every single layout listed here : http://docs.oracle.com/javase/tutorial/uiswing/layout/ But didn't achieve what I wanted.
I've 2 JPanel. One with a fixed size. A second with the variable width. Both are on the same horizontal level and both have the same height.
The first should be stay at the left side of the JFrame, the second expand when width of the frame increases. There also should be a little gap between them, let's say 5px.
How would you do that ?
Thx.
Ps : There's a look a like example. On the left a panel with the 6 buttons stays on the left. On the right the panel example when expanding the whole window.