Decimals on Double

Hello, I need your help ! I have a BeanFieldGroup and a TextField. My BeanFieldGroup is linked to my textfield to fill it automaticaly. When I am wrtting on my textfield, (ex : 12345), automaticaly, my value refresh with withe whitespaces ( 12 345). I don’t want whitespaces. I have tried getValue().replaceAll(“\s”,“”); but nothing happen.

How can I don’t allow refresh value with whitespace ?