Firstly thank your for your attention. I have prepared a project which uses JFormattedTextField and MaskFormatter.
But the main problem is the maskformatter that I've used is for date. like ( / / )
However the user dont have to fill that date they remain empty but I couldnt able o wrıte the code of that. Thanks for your help