• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

leave maskformatter field null

 
melisa sabur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,
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

 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this would be one of the ways

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic