コード例 #1
0
 /**
  * Sets the locale property. This is a bound property.
  *
  * @param l the new locale value
  * @see #getLocale
  */
 public void setLocale(Locale l) {
   if (!initialized) {
     super.setLocale(l);
   } else {
     Locale oldLocale = locale;
     locale = l;
     dayChooser.setLocale(locale);
     monthChooser.setLocale(locale);
     firePropertyChange("locale", oldLocale, locale);
   }
 }