code: public static void main(String[] s) {
  		JFrame frame = new JFrame("JDateChooser");
  		JDateChooser dateChooser = new JDateChooser();
  		// JDateChooser dateChooser = new JDateChooser(null, new Date(), null,
  		// null);
  		// dateChooser.setLocale(new Locale("de"));
  		// dateChooser.setDateFormatString("dd. MMMM yyyy");
  
  		// dateChooser.setPreferredSize(new Dimension(130, 20));
  		// dateChooser.setFont(new Font("Verdana", Font.PLAIN, 10));
  		// dateChooser.setDateFormatString("yyyy-MM-dd HH:mm");
  
  		// URL iconURL = dateChooser.getClass().getResource(
  		// "/com/toedter/calendar/images/JMonthChooserColor32.gif");
  		// ImageIcon icon = new ImageIcon(iconURL);
  		// dateChooser.setIcon(icon);
  
  		frame.getContentPane().add(dateChooser);
  		frame.pack();
  		frame.setVisible(true);
  	}
docs: Creates a JFrame with a JDateChooser inside and can be used for testing.
  
  @param s
  The command line arguments