I want to create component in Swing where text field takes only date type value.
I want a text field in java swing which will take only date type of value
How do you subtract one date from another using a Swing TextField? Is there perhaps a DateField?