@Override
    protected void process(List<RegistrationState> l) {
        for (RegistrationState ls : l) {
            if (ls.isSuccess) {
                this.cp.setVisible(false);
                
                JOptionPane.showMessageDialog(cp, "Username successfully registered", "Success", JOptionPane.INFORMATION_MESSAGE, null);
                
                this.cp.mf.cancelRegistration();
                return;
            }
            
            this.cp.loadCaptchaImage(ls.p);
        }
    }