private void confirmMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_confirmMouseClicked
        // TODO add your handling code here:
        Student usr = Database.db[Database.user];
                if (!userName.getText().isEmpty() ){
            usr.setUserName(userName.getText() );
        }
        if (!jTextField1.getText().isEmpty()){
            usr.setStreet(jTextField1.getText());
        }  
        if (!jTextField2.getText().isEmpty()){
            usr.setOptional(jTextField2.getText());
        }
        if (!jTextField3.getText().isEmpty()){
            usr.setCity(jTextField3.getText() );
        }    
        if (!jTextField4.getText().isEmpty()){
            usr.setState(jTextField4.getText());
        }
        if (!jTextField5.getText().isEmpty()){
            usr.setZip(jTextField5.getText() );
        }
        if (!jTextField8.getText().isEmpty()){
            usr.setPhone(jTextField8.getText());
        }
        usr.setEmergencyContact(jTextField4.getText(),"",jTextField7.getText(),
                jTextField9.getText(),"",jTextField10.getText(),jTextField11.getText(),"" );
        
        usr.setLocale((String)languageSet.getSelectedItem());
        changeLanguage(usr);
        confirmUpdate.setVisible(false);
        updateSuccess.setSize(180, 110);
        updateSuccess.setLocationRelativeTo(userSettings);
        updateSuccess.setVisible(true);
    }