src/main/java/seedu/address/ui/MainWindow.java
/**
     * Removes the items shown in the calorie lists if the day being shown is deleted.
     *
     * @param index index of the item that is deleted.
     */
Removes the items shown in the calorie lists if the day being shown is deleted.
@param index index of the item that is deleted.
Removes the items shown in the calorie lists if the day being shown is deleted . @param index index of the item that is deleted .
@FXML
    public void handleDelete(int index) {
        updateDateLabelWhenDelete(index);
        updateCaloriePanelsWhenDeleted(index);
    }
@ FXML public void handleDelete ( int index ) { updateDateLabelWhenDelete ( index ) ; updateCaloriePanelsWhenDeleted ( index ) ; }
Removes the items shown in the calorie lists if the day being shown is deleted.
Removes the items shown in the calorie lists if the day being shown is deleted .