Just changed the Panels' layout to BorderLayout.