public boolean checkThatDatesSelected() {
        String checkFromDate = this.fromDate.getText();
        String checkTillDate = this.tillDate.getText();
        Date frDate = null;
        Date tiDate = null;
        try {
            tiDate = currentFormat.parse(checkTillDate);
        } catch (ParseException e) {
            e.printStackTrace();
        }
        try {
            frDate = currentFormat.parse(checkFromDate);
        } catch (ParseException e) {
            e.printStackTrace();
        }

        if (((this.fromDate.getText() != "" || this.fromDate.getText() != null) && isThisDateValid(checkFromDate, "dd/MM/yyyy")) &&
                (this.tillDate.getText() != "" || this.tillDate.getText() != null) && isThisDateValid(checkFromDate, "dd/MM/yyyy") &&
                (frDate.compareTo(tiDate) < 1)) {
            return true;
        } else {
            new ErrorMsge("Внимание! Не корректные даты.\n Введите даты в формате \n День/Месяц/Год (дд/мм/гггг)");
            return false;
        }
    }