@Override
    public void populateForm() {
        r = new Register();
        super.form = this.r;
		//Buttons use a Factory to set the name and add an ActionListener
		
        AbstractButtonFactory btnFactory = new ConcreteButtonFactory();
        RegisterHandler rh = new RegisterHandler(r);
        
        r.setButtonGroup1(new javax.swing.ButtonGroup());
        r.setButtonGroup2(new javax.swing.ButtonGroup());
        r.setBtSignUp(btnFactory.createButton("Register",rh));
        r.setRbOwner(new javax.swing.JRadioButton());
        r.setRbCustodian(new javax.swing.JRadioButton());
        r.setjLabel5(new javax.swing.JLabel());
        r.setjPanel1(new javax.swing.JPanel());
        r.setjLabel1(new javax.swing.JLabel());
        r.setTfLast(new javax.swing.JTextField());
        r.setTfFirst(new javax.swing.JTextField());
        r.setjLabel6(new javax.swing.JLabel());
        r.setjPanel2(new javax.swing.JPanel());
        r.setjLabel3(new javax.swing.JLabel());
        r.setjLabel2(new javax.swing.JLabel());
        r.setPfConfirmPassword(new javax.swing.JPasswordField());
        r.setjLabel4(new javax.swing.JLabel());
        r.setPfPassword(new javax.swing.JPasswordField());
        r.setTfUsername(new javax.swing.JTextField());
        r.setLbError(new javax.swing.JLabel());
    }