@Override
    public void setFormProperties() {
        r.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        r.setTitle("Register a User");
        r.setResizable(false);
        r.setLocationRelativeTo(null);
    }