c.gridy = 0;
p.add(new JLabel("Initialer",JLabel.LEFT),c);
c.insets = new Insets(0,5,0,5);
c.gridy = 1;
p.add(getTextField(agentTextField,new SF(){public void func(){event();}}),c);
c.gridy = 2;
p.add(new JLabel("Navn",JLabel.LEFT),c);
c.gridy = 3;
p.add(getTextField(textFieldNavn,null),c);
c.gridy = 4;
p.add(new JLabel("Team",JLabel.LEFT),c);
c.gridy = 5;
p.add(getTextField(textFieldTeam,null),c);
c.gridy = 6;
p.add(labelKode,c);
c.gridy = 7;
p.add(getPasswordField(passwordField),c);
c.gridy = 8;
p.add(labelGentag,c);
c.gridy = 9;
p.add(getPasswordField(passwordFieldRepeat),c);
c.gridy = 10;
c.gridwidth = 2;
p.add(getButton(buttonLogInd,new SF(){public void func(){login();}}),c);
c.gridy = 11;
c.insets = new Insets(0,5,5,5);
p.add(getButton(buttonSkiftKode,new SF(){public void func(){skift();}}),c);
p.setOpaque(false);
agentTextField.setText(agent);
agentTextField.setEditable(true);
agentTextField.setEnabled(true);