I have a problem with GridBagLayout. My components doesnt want to look like i want ;) I want to make a layout like this:
I wrote a code:
JTextField first = new JTextField();
...
add(third, c);
Results look like this, which is "almost" good ;]
Do you know maybe, how to customize it?
Thanks in advance, Marcin
// Edit
Hey, i solved a problem with MigLayout (thanks to mKorbel). Code looks like this (to remove tracking lines, remove debug from constructor):
setLayout(new MigLayout("debug"));
add(new JPanel(), "height 200:75%:10000, width 200:75%:10000");
add(new JPanel(), "height 200:75%:10000, width 50:25%:10000, wrap");
add(new JPanel(), "height 50:25%:10000, width 100%, span");
(ps if u dont want to make upper bound (10000), you can write hmin x, hmax y ... I dont need it ;) )