Added a GridBagLayout with components nameLabel, nameField, 
occupationLabel, occupationField, okBtn.