private void ScheduleSessionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ScheduleSessionActionPerformed
        // TODO add your handling code here:
        if(memID != null){
            int day, month, year;
            Boolean facial, haircut, massage,pedicure;

            try{
                day = Integer.parseInt(DayInput.getText());
                month = Integer.parseInt(MonthInput.getText());
                year = Integer.parseInt(YearInput.getText());


                Date date = new Date(year, month, day);

                String query = "insert into SPASERVICES (MEMBERID,DATEOFSERVICE,SERVICES)"
                        + "values ("+memID+", '"+date.getMonth()+"-"+date.getDay()+"-"+date.getYear()+"', '";
                if(Facial.isSelected()){
                    query += "Facial  ";
                }
                if(Haircut.isSelected()){
                    query += "Haircut  ";
                }
                if(Massage.isSelected()){
                    query += "Massage  ";
                }
                if(Pedicure.isSelected()){
                    query += "Pedicure  ";
                }
                query += "')";
                conn.execUpdate(query);
                
            }
            catch(java.lang.NumberFormatException nfe){

            } catch (SQLException ex) {
                Logger.getLogger(MenuPage.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }//GEN-LAST:event_ScheduleSessionActionPerformed