title: Display JDateChooser in JOptionPane
body: <p>I want to display a <code>JDateChooser</code> component inside an Option pane depending on some selection from the user.
  The point is that I tried getting the <code>JDateChooser</code> the way I want it to appear using next code:</p>
  
  <pre><code>JOptionPane.showInputDialog(null, new JDateChooser(),"Start date", JOptionPane.PLAIN_MESSAGE);
  </code></pre>
  
  <p>I tried with different kinds of <code>JOptionPane</code> variants but I can't figure out how to get this done, the user must be able to select the date and confirm by clicking a button so that I can retrieve that date and use it as a <code>String</code>.</p>
  
  <p>I'd like to have something like this:</p>
  
  <pre><code>String s = JOptionPane.showInputDialog(null,"Text", "More Text", JOptionPane.INFORMATION_MESSAGE);
  </code></pre>
  
  <p>So that in that way I can get the selected date.
  I'm working with jcalendar-1.4.jar</p>