I need to edit format for JFormatedTextField in a Java program. NetBeans are "helping" me with something called Format editor. But, I have no clue how the pattern works.
For #,##0.###
, it returns 1,234.567
, as pictured above. However, I want to change the thousands delimiter to space and decimal separator to comma.
I would guess # ##0,###
is the right format, but no, that returns "Malformed pattern # ##0,###".
How can I change the thousand separator to space and decimal to comma? Is that even possible, using Format editor?