/** * Intantiates a date picker using the specified time as the initial * selection and the default * <code>DatePickerFormatter</code>. * <p/> * The date picker is configured with the default time zone and specified locale * * @param selection initially selected Date * @param locale initial Locale * @see #setTimeZone * @see #getTimeZone * */ public JXDatePicker(Date selection, Locale locale) { init(); if (locale != null) { setLocale(locale); } // install the controller before setting the date updateUI(); setDate(selection); }
/** * Intantiates a date picker using the specified time as the initial * selection and the default * <code>DatePickerFormatter</code>. * <p/> * The date picker is configured with the default time zone and specified locale * * @param selection initially selected Date * @param locale initial Locale * @see #setTimeZone * @see #getTimeZone * */ public JXDatePicker(Date selection, Locale locale) { init(); if (locale != null) { setLocale(locale); } // install the controller before setting the date updateUI(); setDate(selection); }
/** * Intantiates a date picker using the specified time as the initial * selection and the default * <code>DatePickerFormatter</code>. * <p/> * The date picker is configured with the default time zone and specified locale * * @param selection initially selected Date * @param locale initial Locale * @see #setTimeZone * @see #getTimeZone * */ public JXDatePicker(Date selection, Locale locale) { init(); if (locale != null) { setLocale(locale); } // install the controller before setting the date updateUI(); setDate(selection); }
/** * Intantiates a date picker using the specified time as the initial * selection and the default * <code>DatePickerFormatter</code>. * <p/> * The date picker is configured with the default time zone and specified locale * * @param selection initially selected Date * @param locale initial Locale * @see #setTimeZone * @see #getTimeZone * */ public JXDatePicker(Date selection, Locale locale) { init(); if (locale != null) { setLocale(locale); } // install the controller before setting the date updateUI(); setDate(selection); }
/** * Intantiates a date picker using the specified time as the initial * selection and the default * <code>DatePickerFormatter</code>. * <p/> * The date picker is configured with the default time zone and specified locale * * @param selection initially selected Date * @param locale initial Locale * @see #setTimeZone * @see #getTimeZone * */ public JXDatePicker(Date selection, Locale locale) { init(); if (locale != null) { setLocale(locale); } // install the controller before setting the date updateUI(); setDate(selection); }