public static void main(String[] args){
  initializeComponents();
  DatePickerSettings settings=new DatePickerSettings();
  CalendarPanel calendarPanel=new CalendarPanel(settings);
  calendarPanel.addCalendarSelectionListener(new SampleCalendarSelectionListener());
  container.add(calendarPanel);
  frame.setVisible(true);
}

public static void main ( String [ ] args ) { initializeComponents ( ) ; DatePickerSettings settings = new DatePickerSettings ( ) ; CalendarPanel calendarPanel = new CalendarPanel ( settings ) ; calendarPanel . addCalendarSelectionListener ( new SampleCalendarSelectionListener ( ) ) ; container . add ( calendarPanel ) ; frame . setVisible ( true ) ; }
main , this is the entry point for the demo .
