code: public void init(String strDateParam, Date dateTarget, String strLanguage)
      {
          if (strDateParam != null)
              dateParam = strDateParam;      // Property name
          initComponents();
          this.setName("JCalendarPopup");
  
          nowDate = new Date();
          if (dateTarget == null)
              dateTarget = nowDate;
          selectedDate = dateTarget;
  
          if (strLanguage != null)
          {
              Locale locale = new Locale(strLanguage, "");
              if (locale != null)
              {
                  calendar = Calendar.getInstance(locale);
                  dateFormat = DateFormat.getDateInstance(DateFormat.FULL, locale);
              }
          }
          calendar.setTime(dateTarget);
          calendar.set(Calendar.HOUR_OF_DAY, 12);
          calendar.set(Calendar.MINUTE, 0);
          calendar.set(Calendar.SECOND, 0);
          calendar.set(Calendar.MILLISECOND, 0);
          targetDate = calendar.getTime();
          this.layoutCalendar(targetDate);
          if (dateTarget == nowDate)
              selectedDate = targetDate;  // If they want a default date, make the time 12:00
      }
docs: Creates new form CalendarPopup.
  @param strDateParam The name of the date property (defaults to "date").
  @param date The initial date for this button.
  @param strLanguage The language to use.