Here:
jDateChooser1.getCalendar().
You're trying to set date's boundaries to a java.util.Calendar object which is not possible. Maybe you're confused with getJCalendar() which returns a JCalendar object:
jDateChooser1.getJCalendar().setMinSelectableDate(new Date()); // sets today as minimum selectable date
Note you can set minimum selectable date directly on date chooser:
jDateChooser1.setMinSelectableDate(new Date()); // sets today as minimum selectable date
Inspecting JDateChooser
source code you can see this method is just forwarded to the JCalendar
object:
public class JDateChooser extends JPanel implements ActionListener,
PropertyChangeListener {
protected IDateEditor dateEditor;
protected JCalendar jcalendar;
...
public void setMinSelectableDate(Date min) {
jcalendar.setMinSelectableDate(min);
dateEditor.setMinSelectableDate(min);
}
...
}
You may also want to take a look to How to disable or highlight the dates in java calendar for a better understanding on IDateEvaluator interface which is actually the key on this whole date validation matter.