private void btnSaveMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnSaveMousePressed
    	ArrayList<String> errors = getValidationErrors();
        if (!errors.isEmpty()){
        	String errorMsg = "Please fix the following errors:\n";
        	for (String error : errors) {
        		errorMsg += error + ", \n";
        	}
        	
        	JOptionPane.showMessageDialog(null, errorMsg);
        	return;
        }
        else { //Create the new profile
        	String username = txtUsername.getText();
        	boolean isRightHanded = ((String)cbHanded.getSelectedItem()).compareTo("Left Handed") != 0;

        	Manager.getInstance().getProfiles().put(username, 
        		new Profile(
        			username, 
        			txtDisplayName.getText(),
        			new Date(Integer.parseInt(txtStartDate.getText())),
        			isRightHanded,
        			txtFavoriteDisc.getText(),
        			txtFavoriteCourse.getText(),
        			0,
        			(int) spnHolesInOne.getValue(),
        			0, 0, 0, 0, 0,
        			0, 0, 0, 0, 0
        	));
        }
    }