Right I'm doing a simple application in Netbeans, that deals with large numbers so I want my Text Fields to be Formated.
Now right after input of the number to it(when you press enter, or when text field losses focus) I made it that a number is formated. like this number: 213999222 into:
213.999.222
I made it with this code:
--------------------------------------------
now I want it that when a text field gets focus, I turn the formated
string back into the old number: 213999222.
So that it would be like in excel (when you have a cell formated, and you double click on it to edit the data, its turned back into pure numbers)
I tried this code:
but I get a RuntimeException: Uncompilable source code
thanks for help!