permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes leave maskformatter field null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "leave maskformatter field null" Watch "leave maskformatter field null" New topic
Author

leave maskformatter field null

melisa sabur
Greenhorn

Joined: Jun 28, 2012
Posts: 2
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

Joined: Jun 09, 2003
Posts: 4632
this would be one of the ways

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: leave maskformatter field null