Dear All,

How to add automatic Separator Number while typing number in JFormattedTexfield?
I've used some commands such as :

JFormattedTextField jFormat= new JFormattedTextField(new DecimalFormat("###,###"));
private void jFormatKeyReleased(java.awt.event.KeyEvent evt) {                                    
       Locale idLocale = new Locale("id");
       dfs = new DecimalFormatSymbols(idLocale);
       dfs.setCurrencySymbol("Rp. ");
       dFormat = new DecimalFormat("\u00A4##,###.##", dfs);
       double db = Double.parseDouble(dFormat.format(Jformat.getText().toString()));
       Jformat.setValue(db);
    }

but no effect while typing number in JFormattedTexfield, please it's support.

Thanks,
Best & Regrads.