I looks to me like it would be simpler just to use a

GridLayout(2,2) for what you want.

GridBayLayout can seem quite compilcated at first, but it not too bad once you get used to it.

I think you'd need something like this:

myPanel.setLayout(new

GridBagLayout());

GridBagConstraints constraints = new

GridBagConstraints();

constraints.gridwidth = 1;

constraints.gridheight = 1;

constraints.fill = GridBagConstraints.BOTH;

constraints.weightx = 1;

constraints.weighty = 1;

constraints.gridx = 0;

constraints.gridy = 0;

myPanel.add(PanelOne, constraints);

constraints.gridx = 0;

constraints.gridy = 1;

myPanel.add(PanelTwo, constraints);

constraints.gridx = 1;

constraints.gridy = 0;

myPanel.add(PanelThree, constraints);

constraints.gridx = 1;

constraints.gridy = 1;

myPanel.add(PanelFour, constraints);

Sorry if there are any errors in there, but I think it should basicly work!