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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -