Hi
Thank you for reading my post.
I am looking for a way to show Arabic digits in the JTextBox when user is entering the digitst instead of showing Europian digits. User keyboard layout is Arabic but numbers are shown in euopian instead of arabic.
and then adding a KeyListener to your TextBox. In the listener, whenever the user presses a numeric key you can convert the text by using the above code. It won't be the most efficient way, but it should work fine for small amount of data.