title: JCalendar getting date
body: <p>In my project I am using <code>com.toedter.calendar.JCalendar</code> class. But I do not know how can I get date when date is chosen. </p>
  
  <p>JDateChooser and JXDatePicker met my need. There is a code that provides date when a date is chosen from JDateChooser.</p>
  
  <pre><code>JDateChooser picker=new JDateChooser();
  
  picker.addPropertyChangeListener(new PropertyChangeListener() {
          @Override
          public void propertyChange(PropertyChangeEvent evt) {
              setDate(picker.getDate());
          }
   }); 
  </code></pre>