This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.