Disable multiple date ranges jDateChooser

Based on your update there are two things that happen here. First is a little mistake when you instatiate your SimpleDateFormat: SimpleDateFormat dateFormat = new SimpleDateFormat(“dd-mm-yyyy”); In this pattern “mm” refers to minutes not months. It should be: SimpleDateFormat dateFormat = new SimpleDateFormat(“dd-MM-yyyy”); Second problem is IMHO a bug since day chooser seems to not … Read more

How to disable or highlight the dates in JCalendar

I know this has been inactive for a while but hopefully it can be useful to someone. The key here is implement IDateEvaluator interface which is intended to validate if a date is special or invalid. Unfortunately there’s only one concrete implementation provided with JCalendar library which is MinMaxDateEvaluatorclass, but taking this as start point … Read more