public RegisterPanel(){
		this.setLayout(registerLayout);
		
		layoutConstraints.insets = new Insets(5, 5, 5, 5);
		
		layoutConstraints.gridwidth = 4;
		
		layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 0;
	    String fontName = registerLabel.getFont().getFontName();
	    registerLabel.setFont(new Font(fontName, Font.BOLD, 20));
	    this.add(registerLabel,layoutConstraints);
	    
	    layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 1;
	    this.add(Box.createRigidArea(new Dimension(0, 20)), layoutConstraints);
	    
	    layoutConstraints.gridwidth = 1;
		
		layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 2;
	    this.add(nameLabel,layoutConstraints);
	    
	    layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 3;
	    this.add(usernameLabel,layoutConstraints);
	    
	    layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 4;
	    this.add(passwordLabel,layoutConstraints);
	    
	    layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 5;
	    this.add(passwordConfirmationLabel,layoutConstraints);
	    
	    layoutConstraints.gridwidth = 3;
	    
	    layoutConstraints.gridx = 1;
	    layoutConstraints.gridy = 2;
	    this.add(nameTextField,layoutConstraints);
	    
	    layoutConstraints.gridx = 1;
	    layoutConstraints.gridy = 3;
	    this.add(usernameTextField,layoutConstraints);
	    
	    layoutConstraints.gridx = 1;
	    layoutConstraints.gridy = 4;
	    this.add(passwordField,layoutConstraints);
	    
	    layoutConstraints.gridx = 1;
	    layoutConstraints.gridy = 5;
	    this.add(passwordConfirmationField,layoutConstraints);
	    
	    layoutConstraints.gridwidth = 4;
		
	    layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 6;
	    this.add(Box.createRigidArea(new Dimension(0, 20)), layoutConstraints);
	    
	    layoutConstraints.gridwidth = 1;
	    
		layoutConstraints.gridx = 0;
	    layoutConstraints.gridy = 7;
	    this.add(registerButton,layoutConstraints); 
	    
	    layoutConstraints.gridx = 3;
	    layoutConstraints.gridy = 7;
	    this.add(cancelButton,layoutConstraints);
	}