cancel = new JButton(propertiesMgr.getValue("cancelForAddBuddy"));
cancel.addActionListener(this);
GridBagConstraints c = new GridBagConstraints();
c.weightx = 1;
c.insets = new Insets(5, 5, 5, 5);
//First line
c.gridy = 1;
this.getContentPane().add(nameLabel, c);
this.getContentPane().add(nameField, c);
//second line
c.gridy = 2;
this.getContentPane().add(groupLabel, c);
this.getContentPane().add(groupField, c);
//third line
c.gridy = 3;
c.insets = new Insets(25, 5, 5, 5);
this.getContentPane().add(ok, c);
this.getContentPane().add(cancel, c);
this.pack();
this.setResizable(false);