JSpinner Data Editor w buddyjskim kalendarzu

Czy istnieje sposób na użycie JSpinner.DateEditor z buddyjskim kalendarzem? Kiedy zmieniam ustawienia regionalne na „th”, „TH” i odtwarzam moje kalendarze, są one rzeczywiście buddyjskimi kalendarzami. Jednak JSpinners nie są aktualizowane. Oto przykładowy kod:

Locale locale = new Locale("th", "TH");
Locale.setDefault(locale);
// Reinitializing calendars with new locale, this is done correctly
encodingCalendar = Calendar.getInstance();
expirationCalendar = Calendar.getInstance();
// Modifying the spinners in another class to update them with the correct locale
// this is the part that's not doing what I'd expect.
editor.getExpirationDateSpinner().setLocale(locale);
editor.getExpirationDateSpinner().getEditor().setLocale(locale);

Jakieś pomysły?

questionAnswers(1)

yourAnswerToTheQuestion