title: Insertion of Date into Database
body: <p>I have a <code>JDateChooser</code>.I need to insert a <code>date</code> in to a <code>Database</code> 
  The input date is selected in the form of String.
  I need to convert this <code>String</code> to a <code>Date</code> object.
  What should I do.</p>
  
  <pre><code>    final JDateChooser dob=new JDateChooser();
  
      dob.setLocale(Locale.US);
  
      String dob_text=dob.getDate().toString();
  </code></pre>