How to show digits in Farsi or Arabic by swing

I try to change digits and numbers to Farsi or Arabicusing MS Windows Regional Settings, but i found out swing doesn'tuse OS Regional Settings. I don't know how i can show Farsi orArabic digit in swing UI editor components,I wanna type numbers in a swing UI editor component in Farsi orArabic but the value of string are digit not a Unicode Farsi orArabic character of digits.