code: @Override
      public void setLocale(Locale locale) {
          DatePickerSettings currentSettings = getSettings();
          if (currentSettings != null) {
              currentSettings.setLocale(locale);
          }
          super.setLocale(locale);
      }
docs: setLocale, The locale for a CalendarPanel should generally be set in the DatePickerSettings.
  This function only exists to avoid confusion with the swing function Component.setLocale().
  
  This forwards any function calls to: CalendarPanel.getSettings().setLocale(). For the
  complete Javadocs, see DatePickerSettings.setLocale().