my dog learned polymorphism
The moose likes Swing / AWT / SWT and the fly likes leave maskformatter field null Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: leave maskformatter field null
 
Similar Threads
Suggestions for date validation
JFormattedtextField
date
Create JTable custom editor to validate againts string data type
Invalid Date