Switched to GridBagLayout for the orientation of the panels