java - Creating component in Swing where text field takes only date type value -
I want to create a component in the swing where the text field only takes the date type.
You can use JFormattedTextField
, set your format for the date can do. Works outside of JRE without using anything, but it can not be the most useful option.
Otherwise what user has said and use JXDatePicker
of SwingX or DateComboBox
.
Comments
Post a Comment