private void btnBookMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_btnBookMouseClicked
        // TODO add your handling code here:
        SimpleDateFormat format = new SimpleDateFormat("dd-MM-yyyy");
        try{
            Calendar start = GregorianCalendar.getInstance();
            start.setTime(format.parse(txtStartDate.getText()));
            Calendar end = GregorianCalendar.getInstance();
            end.setTime(format.parse(txtEndDate.getText()));
            
            try{
                Holiday newHoliday = new Holiday(currentDriver.getNumber(), start, end);
                this.lblError.setText("Holiday added");
                this.txtHolidaysTaken.setText("" + this.currentDriver.holidaysAvailable());

            }
            catch(NotEnoughHolidaysException e){
                this.lblError.setText("You don't have enough holidays available for that booking");
            }
            catch(Exception e){
                System.out.println("" + e);
            }
        }catch(Exception e){
            System.out.println(e);
        }

    }//GEN-LAST:event_btnBookMouseClicked