Does Swing or AWT have a component for entering a date? I'm picturing a button that the user clicks that causes a calendar to popup. Then the user can choose the date.
Also is there something similar for time? Perhaps a JFormattedTextField will be sufficient for my needs here, but a "calendar picker" of some sort would be much more convenient for the date.
There is a free calender program with a popup month calander that you can pick the date and it puts it in the date text field. Do a Google on 'java calendar examples'. If you use a database I have found that always storing the date as 'timestamp' solves lots of problems. Move the date around using java,util,Date keeps things neet and orderly. If you store the date as timestamp the same data can be shown on the screen as a date in one field and time in a different field using the Java 'simple.date.format' classes on the same timestamp field.
timestamp is ALWAYS stored as YYYMMDDhhmmssss even though you may specific fewer characters to the database.